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:
Diffstat (limited to 'plugins/Dashboard/angularjs/dashboard/dashboard.directive.js')
-rw-r--r--plugins/Dashboard/angularjs/dashboard/dashboard.directive.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dashboard/angularjs/dashboard/dashboard.directive.js b/plugins/Dashboard/angularjs/dashboard/dashboard.directive.js
index 3231d60a52..04c1a8e6a5 100644
--- a/plugins/Dashboard/angularjs/dashboard/dashboard.directive.js
+++ b/plugins/Dashboard/angularjs/dashboard/dashboard.directive.js
@@ -93,7 +93,8 @@
function onLocationChange(event, newUrl, oldUrl)
{
- if (newUrl !== oldUrl && newUrl.indexOf('category=Dashboard_Dashboard') === -1) {
+ if (broadcast.getValueFromUrl('module') != 'Widgetize' && newUrl !== oldUrl &&
+ newUrl.indexOf('category=Dashboard_Dashboard') === -1) {
// we remove the dashboard only if we no longer show a dashboard.
clearDashboard();
}