Skip to content

Commit

Permalink
fix(): clicking on items in graphites add function menu did not work,…
Browse files Browse the repository at this point in the history
… now works again, broken in recent panel refactorings
  • Loading branch information
torkelo committed Feb 11, 2016
1 parent bf1b605 commit 4e33e80
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions examples/nginx-app/src/dashboards/dashboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require([
], function () {

function Dashboard() {

this.getInputs = function() {

};

this.buildDashboard = function() {

};
}

return Dashboard;
});

Original file line number Diff line number Diff line change
Expand Up @@ -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 + "')",
};
})
};
Expand Down

0 comments on commit 4e33e80

Please sign in to comment.