diff options
author | thomascube <thomas@roundcube.net> | 2012-01-05 12:12:18 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-05 12:12:18 +0000 |
commit | 0e530bd9203e79218e9aad631e8495794a72a042 (patch) | |
tree | a3cd2627be1ca9ee1ae78b5593aca7d6f4cb60aa /program/js/app.js | |
parent | 1c4f23d6e58e12f93d8de2c3ae416df575e8ad85 (diff) |
Show additional popup dialog on error messages
Diffstat (limited to 'program/js/app.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; |