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/CoreHome/angularjs/widget-loader/widgetloader.directive.js')
-rw-r--r--plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js b/plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js
index c15eb97af6..c6d2326a58 100644
--- a/plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js
+++ b/plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js
@@ -19,9 +19,9 @@
(function () {
angular.module('piwikApp').directive('piwikWidgetLoader', piwikWidgetLoader);
- piwikWidgetLoader.$inject = ['piwik', 'piwikUrl', '$http', '$compile', '$q', '$location'];
+ piwikWidgetLoader.$inject = ['piwik', 'piwikUrl', '$http', '$compile', '$q', '$location', 'notifications'];
- function piwikWidgetLoader(piwik, piwikUrl, $http, $compile, $q, $location){
+ function piwikWidgetLoader(piwik, piwikUrl, $http, $compile, $q, $location, notifications){
return {
restrict: 'A',
transclude: true,
@@ -147,6 +147,8 @@
}
$compile(currentElement)(newScope);
+
+ notifications.parseNotificationDivs();
})['catch'](function () {
if (thisChangeId !== changeCounter) {
// another widget was requested meanwhile, ignore this response