diff --git a/mailnews/base/prefs/resources/content/am-server.js b/mailnews/base/prefs/resources/content/am-server.js
index 9b6e9af2f6ce..9bb4785ce122 100644
--- a/mailnews/base/prefs/resources/content/am-server.js
+++ b/mailnews/base/prefs/resources/content/am-server.js
@@ -42,40 +42,30 @@ function initServerType() {
verboseName = stringBundle.GetStringFromName(propertyName);
- var hostname = document.getElementById("server.hostName").getAttribute("value");
- var username = document.getElementById("server.username").getAttribute("value");
-
setDivText("servertype.verbose", verboseName);
- setDivText("servername.verbose", hostname);
- setDivText("username.verbose", username);
-
}
function hideShowControls(serverType)
{
- var controls = document.getElementsByAttribute("wsm_persist", "true");
+ var controls = document.getElementsByAttribute("hidable", "true");
var len = controls.length;
for (var i=0; i
-
-
@@ -30,19 +28,26 @@
-
-
+
+
+
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -51,11 +56,11 @@
-
-
-
+
+
+
@@ -63,16 +68,20 @@
-
+
+
-
-
+
-
+
@@ -80,7 +89,7 @@
-
+
@@ -91,10 +100,10 @@
-
-
+
+
@@ -103,7 +112,7 @@
oncommand="openImapAdvanced(event);"/>
-
+
@@ -112,9 +121,9 @@
-
-
-
+
+
@@ -126,7 +135,7 @@
-
+
@@ -136,7 +145,7 @@
-
diff --git a/mailnews/base/prefs/resources/locale/en-US/am-server-top.dtd b/mailnews/base/prefs/resources/locale/en-US/am-server-top.dtd
index cef59486cad1..c5f4835b128c 100644
--- a/mailnews/base/prefs/resources/locale/en-US/am-server-top.dtd
+++ b/mailnews/base/prefs/resources/locale/en-US/am-server-top.dtd
@@ -34,6 +34,7 @@
+