Author: toad
Date: 2007-10-23 23:20:49 +0000 (Tue, 23 Oct 2007)
New Revision: 15516

Modified:
   trunk/apps/Freemail/src/freemail/Freemail.java
Log:
ET: I've seen a little error in freemail.Freemail.java

Modified: trunk/apps/Freemail/src/freemail/Freemail.java
===================================================================
--- trunk/apps/Freemail/src/freemail/Freemail.java      2007-10-23 23:11:20 UTC 
(rev 15515)
+++ trunk/apps/Freemail/src/freemail/Freemail.java      2007-10-23 23:20:49 UTC 
(rev 15516)
@@ -351,7 +351,7 @@
                                        addedBox.addChild("div", "class", 
"infobox-content", "Account for " + request.getParam("name") + " is created");

                                } catch (IOException ioe) {
-                                       HTMLNode errorBox = 
contentNode.addChild("div", "class", "infobox-error");
+                                       HTMLNode errorBox = 
contentNode.addChild("div", "class", "infobox infobox-error");
                                        errorBox.addChild("div", "class", 
"infobox-header", "IO Error"); 
                                        errorBox.addChild("div", "class", 
"infobox-content", "Couldn't create account. Please check write access to 
Freemail's working directory. If you want to overwrite your account, delete the 
appropriate directory manually in 'data' first. Freemail will intentionally not 
overwrite it. Error: "+ioe.getMessage());
                                } catch (Exception e) {
@@ -360,7 +360,7 @@
                                        errorBox.addChild("div", "class", 
"infobox-content", "Couldn't change password for "+request.getParam("name")+". 
"+e.getMessage());
                                }
                        } else {
-                               HTMLNode errorBox = contentNode.addChild("div", 
"class", "infobox-error");
+                               HTMLNode errorBox = contentNode.addChild("div", 
"class", "infobox infobox-error");
                                errorBox.addChild("div", "class", 
"infobox-header", "Error"); 
                                errorBox.addChild("div", "class", 
"infobox-content", "Couldn't create account, name or password is missing");
                        }


Reply via email to