diff --git a/src/scripts/controllers/settings-ariang.js b/src/scripts/controllers/settings-ariang.js index cba0e3e..fff5491 100644 --- a/src/scripts/controllers/settings-ariang.js +++ b/src/scripts/controllers/settings-ariang.js @@ -32,17 +32,10 @@ return; } - var noticicationScope = $rootScope.$new(); - - noticicationScope.refreshPage = function () { - $window.location.reload(); - }; - lastRefreshPageNotification = ariaNgLocalizationService.notifyInPage('', 'Configuration has been modified, please reload the page for the changes to take effect.', { delay: false, type: 'info', - templateUrl: 'setting-changed-notification.html', - scope: noticicationScope, + templateUrl: 'views/notification-reloadable.html', onClose: function () { lastRefreshPageNotification = null; } diff --git a/src/views/settings-ariang.html b/src/views/settings-ariang.html index a14b61e..236bb78 100644 --- a/src/views/settings-ariang.html +++ b/src/views/settings-ariang.html @@ -346,11 +346,3 @@ -