Fixed issue with editing text panel, removed a function from dashboard controller that I though was not used, turned out it was
This commit is contained in:
@@ -102,6 +102,14 @@ function (angular, $, config, _) {
|
||||
}
|
||||
};
|
||||
|
||||
$scope.panel_path =function(type) {
|
||||
if(type) {
|
||||
return 'app/panels/'+type.replace(".","/");
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
$scope.showJsonEditor = function(evt, options) {
|
||||
var editScope = $rootScope.$new();
|
||||
editScope.object = options.object;
|
||||
|
||||
Reference in New Issue
Block a user