mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
1440d1a147
commit
4311a20c5f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user