Skip to content

Commit 4dad376

Browse files
committed
UI: Make sure notification box is removed on session expire
1 parent 9769ab3 commit 4dad376

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ui/scripts/cloudStack.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@
102102
$('#user-options a').eq(0).trigger('click');
103103
};
104104

105+
if ($('.notification-box:visible').size()) {
106+
$('.notification-box, div.overlay:first').remove();
107+
}
108+
105109
cloudStack.dialog.notice({
106110
message: _l('label.session.expired'),
107111
clickAction: clickAction

0 commit comments

Comments
 (0)