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