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:
Torkel Ödegaard 2014-09-09 11:35:29 +02:00
parent 1440d1a147
commit 4311a20c5f

View File

@ -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;