From 5638e9e1c53c99913646826936480dcf539b6a5d Mon Sep 17 00:00:00 2001 From: Vaclav Muzikar Date: Mon, 4 Jul 2016 13:10:08 +0200 Subject: [PATCH] KEYCLOAK-3280 Alerts in Admin Console are sometimes shown only for a split second --- .../main/resources/theme/base/admin/resources/js/services.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/src/main/resources/theme/base/admin/resources/js/services.js b/themes/src/main/resources/theme/base/admin/resources/js/services.js index 11e9d592c0..6630c25aaf 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/services.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/services.js @@ -158,6 +158,8 @@ module.factory('Notifications', function($rootScope, $timeout) { $rootScope.notification = notifications.current; notifications.message = function(type, header, message) { + notifications.current.remove(); + notifications.current.type = type; notifications.current.header = header; notifications.current.message = message;