|
|
|
@ -681,7 +681,10 @@ function rcube_elastic_ui()
|
|
|
|
|
|
|
|
|
|
// Make message-objects alerts pretty (the same as UI alerts)
|
|
|
|
|
$('#message-objects', context).children().each(function() {
|
|
|
|
|
alert_style(this, $(this).addClass('boxwarning').attr('class').split(/\s/)[0]);
|
|
|
|
|
// message objects with notice class are really warnings
|
|
|
|
|
var cl = $(this).removeClass('notice').attr('class').split(/\s/)[0] || 'warning';
|
|
|
|
|
alert_style(this, cl);
|
|
|
|
|
$(this).addClass('box' + cl);
|
|
|
|
|
$('a', this).addClass('btn btn-primary');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|