From 8c16ea9632610f1104c1e54f97391e2b2a2776de Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 31 May 2012 10:41:28 +0200 Subject: [PATCH] Don't let error message popups cover the login form (#1488500) --- CHANGELOG | 1 + skins/larry/ui.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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