##// END OF EJS Templates
Allow to set same mode as existing if load fails....
Allow to set same mode as existing if load fails. Setting the mode many times in a row, would fail to actually set the mode if it was failing to load the mode the first time. The prevent the above behavior by falling back **explicitly** to 'null' if mode does not exist yet, or can't be loaded. Also, don't set to null mode if mode have changed Or if kernel.js have changed the mode, we re-set it to null...

File last commit:

r20937:96aea1c9
r21195:1fe13404
Show More
notificationwidget.less
21 lines | 371 B | text/x-less | LessCssLexer
.notification_widget {
color: @navbar-default-link-color;
z-index: 10;
background: @notification_widget_bg;
margin-right: 4px;
.btn-default();
}
.notification_widget.warning {
.btn-warning();
}
.notification_widget.success {
.btn-success();
}
.notification_widget.info {
.btn-info();
}
.notification_widget.danger {
.btn-danger();
}