KEYCLOAK-134: Increase notification time from 3 to 5 seconds.

This commit is contained in:
ammendonca 2013-12-10 16:21:46 +00:00
parent 7076341f7f
commit 42c7687309

View file

@ -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) {