From 42c7687309dd96dc74974451b4f9c0fd79fc1a11 Mon Sep 17 00:00:00 2001 From: ammendonca Date: Tue, 10 Dec 2013 16:21:46 +0000 Subject: [PATCH] KEYCLOAK-134: Increase notification time from 3 to 5 seconds. --- .../main/resources/META-INF/resources/admin/js/services.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/services.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/services.js index bb72402409..0147362e69 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/services.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/services.js @@ -55,6 +55,9 @@ module.service('Dialog', function($dialog) { }); module.factory('Notifications', function($rootScope, $timeout) { + // time (in ms) the notifications are shown + var delay = 5000; + var notifications = {}; var scheduled = null; @@ -66,7 +69,7 @@ module.factory('Notifications', function($rootScope, $timeout) { scheduled = $timeout(function() { $rootScope.notification = null; scheduled = null; - }, 3000); + }, delay); }; if (!$rootScope.notifications) {