diff options
author | sgiehl <stefan@piwik.org> | 2016-02-24 00:54:45 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-02-24 00:54:45 +0300 |
commit | c6344f1641fa1b185a4a95eabf0d77850ec390bf (patch) | |
tree | e48e0c1496fce106f3b676bbcccdd957901248ce | |
parent | 5c737e4fdb6a15392c6808a00bfca7ca31862189 (diff) |
fix add widget button in empty dashboard notification does not work
-rw-r--r-- | plugins/Dashboard/javascripts/dashboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dashboard/javascripts/dashboard.js b/plugins/Dashboard/javascripts/dashboard.js index 4b632a28fc..bdd248682a 100644 --- a/plugins/Dashboard/javascripts/dashboard.js +++ b/plugins/Dashboard/javascripts/dashboard.js @@ -89,7 +89,7 @@ function showChangeDashboardLayoutDialog() { function showEmptyDashboardNotification() { piwikHelper.modalConfirm('#dashboardEmptyNotification', { resetDashboard: function () { $('#dashboardWidgetsArea').dashboard('resetLayout'); }, - addWidget: function () { $('.dashboardSettings').trigger('click'); } + addWidget: function () { $('.dashboardSettings > a').trigger('click'); } }); } |