diff options
author | Aleksander Machniak <alec@alec.pl> | 2019-12-09 10:33:09 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2019-12-18 13:55:52 +0300 |
commit | b25c649bb7b542d8ca86f79cd55b09d9f77e54b7 (patch) | |
tree | aa26715758e88b574c212ab87d69abe685a4fb8b /skins | |
parent | d3bedca7f81eb7b5b178d4c76a2963ba9b8e1069 (diff) |
Plugin API: Make actionbefore, before<action>, actionafter and after<action> events working with plugin actions (#7106)
Diffstat (limited to 'skins')
-rw-r--r-- | skins/elastic/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index 1141d82c9..13c4a0455 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -1045,7 +1045,7 @@ function rcube_elastic_ui() // Make message-objects alerts pretty (the same as UI alerts) $('#message-objects', context).children(':not(.ui.alert)').add('.part-notice').each(function() { // message objects with notice class are really warnings - var cl = $(this).removeClass('notice part-notice').attr('class').split(/\s/)[0] || 'warning'; + var cl = String($(this).removeClass('notice part-notice').attr('class')).split(/\s/)[0] || 'warning'; alert_style(this, cl); $(this).addClass('box' + cl); $('a', this).addClass('btn btn-primary btn-sm'); |