Bug 904338 - Empty port line when creating a Blogs & Newsfeeds account. r=IanN SEA_2_26_1_RELBRANCH
authorEdmund Wong <ewong@pw-wspx.org>
Thu, 03 Apr 2014 12:17:23 +0800
branchSEA_2_26_1_RELBRANCH
changeset 31060 cfda76589359a95ab5057d5573fc1ada33630a39
parent 31059 9f7c2c32fad1af5b8ba4f35ad289e355c1b1d6ad
child 31061 91519486358d840cdeb1694f7994343372b9a405
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs904338
Bug 904338 - Empty port line when creating a Blogs & Newsfeeds account. r=IanN
mailnews/base/prefs/content/aw-done.js
--- a/mailnews/base/prefs/content/aw-done.js
+++ b/mailnews/base/prefs/content/aw-done.js
@@ -132,16 +132,17 @@ function donePageInit() {
           if (!smtpServerName && smtpServer && smtpServer.hostname)
               smtpServerName = smtpServer.hostname;
         }
         setDivTextFromForm("smtpServer.name", smtpServerName);
     }
     else {
         setDivTextFromForm("server.name", null);
         setDivTextFromForm("server.type", null);
+        setDivTextFromForm("server.port", null);
         setDivTextFromForm("smtpServer.name", null);
     }
 
     if (serverIsNntp(pageData)) {
         var newsServerName="";
         if (pageData.newsserver && pageData.newsserver.hostname)
             newsServerName = pageData.newsserver.hostname.value;
         if (newsServerName) {