summaryrefslogtreecommitdiff
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
parentca1c2a8c9c69ddf92cfd07a9e5ff4ec1deb22b6b (diff)
Don't let error message popups cover the login form (#1488500)
-rw-r--r--CHANGELOG1
-rw-r--r--skins/larry/ui.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index fa2fe4372..e55f4909c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Don't let error message popups cover the login form (#1488500)
- Don't show errors when moving contacts into groups they are already in (#1488493)
- Make folders with unread messages in subfolders bold again (#1486793)
- Abbreviate long attachment file names with ellipsis (#1488499)
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