Merge pull request #132 from ammendonca/KEYCLOAK-134

KEYCLOAK-134: Increase notification time from 3 to 5 seconds.
This commit is contained in:
stianst 2013-12-11 06:16:20 -08:00
commit 6d9e1ea60c

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