summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-05-31 10:41:28 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-05-31 10:41:28 +0200
commit8c16ea9632610f1104c1e54f97391e2b2a2776de (patch)
tree20f10a6d2e3939d9112707d8ca8f67d7498c8e42 /skins
parentca1c2a8c9c69ddf92cfd07a9e5ff4ec1deb22b6b (diff)
Don't let error message popups cover the login form (#1488500)
Diffstat (limited to 'skins')
-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 2bc902132..2e0f0dbc0 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -262,6 +262,7 @@ function rcube_mail_ui()
}
var pos = $(p.object).offset();
+ pos.top -= (rcmail.env.task == 'login' ? 20 : 160);
me.messagedialog.dialog('close');
me.messagedialog.html(p.message)
.dialog({
@@ -272,7 +273,7 @@ function rcube_mail_ui()
close: function() {
me.messagedialog.dialog('destroy').hide();
},
- position: ['center', pos.top - 160],
+ position: ['center', pos.top],
hide: { effect:'drop', direction:'down' },
width: 420,
minHeight: 90