diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-05 12:12:18 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-05 12:12:18 +0000 |
| commit | c3a5286b602411918ab87646a6eb0d58a24ecc2a (patch) | |
| tree | ab95603ae882d41053d405c5fe334e199c6b4ead /roundcubemail/program/js/app.js | |
| parent | b4579fac2d4736de64f37a726fc325340b989ce8 (diff) | |
Show additional popup dialog on error messages
git-svn-id: https://svn.roundcube.net/trunk@5717 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 27af1ff88..7fe300b0f 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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; |
