From de485f883e25fcac75203264e336a3945db0d690 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 06 Jul 2012 06:56:54 -0400
Subject: [PATCH] Suppress error message popups on login screen

---
 skins/larry/ui.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 7c66e01..6cc4d1d 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -265,7 +265,7 @@
   function message_displayed(p)
   {
     // show a popup dialog on errors
-    if (p.type == 'error') {
+    if (p.type == 'error' && rcmail.env.task != 'login') {
       if (!me.messagedialog) {
         me.messagedialog = $('<div>').addClass('popupdialog');
       }

--
Gitblit v1.9.1