mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Make sure notification box is removed on session expire
This commit is contained in:
parent
9769ab329d
commit
4dad376f98
@ -102,6 +102,10 @@
|
|||||||
$('#user-options a').eq(0).trigger('click');
|
$('#user-options a').eq(0).trigger('click');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ($('.notification-box:visible').size()) {
|
||||||
|
$('.notification-box, div.overlay:first').remove();
|
||||||
|
}
|
||||||
|
|
||||||
cloudStack.dialog.notice({
|
cloudStack.dialog.notice({
|
||||||
message: _l('label.session.expired'),
|
message: _l('label.session.expired'),
|
||||||
clickAction: clickAction
|
clickAction: clickAction
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user