Merge pull request #3006 from vmuzikar/KEYCLOAK-3280-master

KEYCLOAK-3280 Alerts in Admin Console are sometimes shown only for a split second
This commit is contained in:
Stian Thorgersen 2016-07-12 07:30:37 +02:00 committed by GitHub
commit 3a370e2726

View file

@ -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;