diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-07-09 09:47:29 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-07-09 10:58:40 +0200 |
commit | 5a3f8636ecaa9d479ef2ec39fa6abe36792a2556 (patch) | |
tree | 7e450197e54845e943246f437d1211512752973f /skins/larry | |
parent | d323e30a576e242538d4d1f1eed296490d3164b9 (diff) |
Fix displaying error messages without timeout
Diffstat (limited to 'skins/larry')
-rw-r--r-- | skins/larry/ui.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 47a68970c..f25c4fc1c 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -472,7 +472,8 @@ function rcube_mail_ui() minHeight: 90 }).show(); - me.message_timer = window.setTimeout(dialog_close, p.timeout); + if (p.timeout > 0) + me.message_timer = window.setTimeout(dialog_close, p.timeout); } } |