Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2016-02-24 00:54:45 +0300
committersgiehl <stefan@piwik.org>2016-02-24 00:54:45 +0300
commitc6344f1641fa1b185a4a95eabf0d77850ec390bf (patch)
treee48e0c1496fce106f3b676bbcccdd957901248ce /plugins/Dashboard
parent5c737e4fdb6a15392c6808a00bfca7ca31862189 (diff)
fix add widget button in empty dashboard notification does not work
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r--plugins/Dashboard/javascripts/dashboard.js2
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'); }
});
}