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:
Torkel Ödegaard 2016-02-11 15:25:34 +01:00
parent bf1b60564e
commit 4e33e80957
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
require([
], function () {
function Dashboard() {
this.getInputs = function() {
};
this.buildDashboard = function() {
};
}
return Dashboard;
});

View File

@ -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 + "')",
};
})
};