From 30eb9eee28f962048d638e6d13598e33fcf29ddc Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 06 Jul 2012 05:34:35 -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 906ea6e..894278a 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -263,7 +263,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