##// END OF EJS Templates
fix sticky warning....
fix sticky warning. Widget.warning('text....') was infinitely sticky in some cases like content manager raising 'not implemented' on copy. The make default click_callback to dismiss notification, and fix the logic to not unbind the click handler if it requests the notification not to be dismissed.

File last commit:

r19298:d8390523
r20294:06a51f16
Show More
notificationwidget.less
20 lines | 348 B | text/x-less | LessCssLexer
.notification_widget {
color: @navbar-default-link-color;
z-index: 10;
background: @notification_widget_bg;
.btn-default();
}
.notification_widget.warning {
.btn-warning();
}
.notification_widget.success {
.btn-success();
}
.notification_widget.info {
.btn-info();
}
.notification_widget.danger {
.btn-danger();
}