summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-07-09 09:47:29 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-07-09 09:47:29 +0200
commitd981aa066755add4c98d27c42093c5692a865ffa (patch)
tree9b22bb6564a0346be4fd6e703be7ba6f7ae5001a
parent8f3bd30e54d4ad72cfe85f6ddd1275f5985ae620 (diff)
Fix displaying error messages without timeout
-rw-r--r--skins/larry/ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 786e3546c..ac2d551ae 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -440,7 +440,8 @@ function rcube_mail_ui()
me.messagedialog.closest('div[role=dialog]').attr('role', 'alertdialog');
- me.message_timer = window.setTimeout(dialog_close, p.timeout);
+ if (p.timeout > 0)
+ me.message_timer = window.setTimeout(dialog_close, p.timeout);
}
}