diff options
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js index 27af1ff88..7fe300b0f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5423,6 +5423,8 @@ function rcube_webmail() obj.click(function() { return ref.hide_message(obj); }); } + this.triggerEvent('message', { message:msg, type:type, timeout:timeout, object:obj }); + if (timeout > 0) window.setTimeout(function() { ref.hide_message(id, type == 'loading'); }, timeout); return id; |