summaryrefslogtreecommitdiff
path: root/skins/larry
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:43:27 +0200
commitf38ff4a19e689d4e7e10b5bcbf3c9348c6f3a3b4 (patch)
treeedd4577dabb958078939b3b1b639b56481de29a3 /skins/larry
parent1784ae41653581afe63f55031937735531daa541 (diff)
Don't let error message popups cover the login form (#1488500)
Diffstat (limited to 'skins/larry')
-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 73ce76782..b6383a8a3 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -264,6 +264,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({
@@ -274,7 +275,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