mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(): clicking on items in graphites add function menu did not work, now works again, broken in recent panel refactorings
This commit is contained in:
parent
bf1b60564e
commit
4e33e80957
17
examples/nginx-app/src/dashboards/dashboard.js
Normal file
17
examples/nginx-app/src/dashboards/dashboard.js
Normal file
@ -0,0 +1,17 @@
|
||||
require([
|
||||
], function () {
|
||||
|
||||
function Dashboard() {
|
||||
|
||||
this.getInputs = function() {
|
||||
|
||||
};
|
||||
|
||||
this.buildDashboard = function() {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return Dashboard;
|
||||
});
|
||||
|
@ -99,7 +99,7 @@ function (angular, _, $, gfunc) {
|
||||
submenu: _.map(list, function(value) {
|
||||
return {
|
||||
text: value.name,
|
||||
click: "addFunction('" + value.name + "')",
|
||||
click: "ctrl.addFunction('" + value.name + "')",
|
||||
};
|
||||
})
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user