Commit 4e33e809 by Torkel Ödegaard

fix(): clicking on items in graphites add function menu did not work, now works…

fix(): clicking on items in graphites add function menu did not work, now works again, broken in recent panel refactorings
parent bf1b6056
require([
], function () {
function Dashboard() {
this.getInputs = function() {
};
this.buildDashboard = function() {
};
}
return Dashboard;
});
...@@ -99,7 +99,7 @@ function (angular, _, $, gfunc) { ...@@ -99,7 +99,7 @@ function (angular, _, $, gfunc) {
submenu: _.map(list, function(value) { submenu: _.map(list, function(value) {
return { return {
text: value.name, text: value.name,
click: "addFunction('" + value.name + "')", click: "ctrl.addFunction('" + value.name + "')",
}; };
}) })
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment