Bug 1561071 - "Ask me before downloading X messages" field always empty in account manager. r=aceman DONTBUILD
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Tue, 25 Jun 2019 13:33:58 +0300
changeset 35954 8a22b144d02d572bcb0f3f9937c03d9000a7c785
parent 35953 365e9e6a7f2c144fb1f33e586d908736baa6a9a5
child 35955 b58f19c12f2270fd3d828f68882477a1e1cd0304
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersaceman
bugs1561071
Bug 1561071 - "Ask me before downloading X messages" field always empty in account manager. r=aceman DONTBUILD
mailnews/base/prefs/content/am-server.xul
--- a/mailnews/base/prefs/content/am-server.xul
+++ b/mailnews/base/prefs/content/am-server.xul
@@ -316,23 +316,25 @@
       <label hidden="true" wsm_persist="true" id="imap.serverDirectory"/>
       <checkbox hidden="true" wsm_persist="true" id="imap.overrideNamespaces"
                 prefattribute="value"
                 prefstring="mail.server.%serverkey%.override_namespaces"/>
     </hbox>
 
     <!-- NNTP -->
     <hbox hidefor="pop3,imap,movemail" align="center">
-      <checkbox wsm_persist="true" id="nntp.notifyOn"
+      <checkbox id="nntp.notifyOn"
+                wsm_persist="true"
                 label="&maxMessagesStart.label;"
                 accesskey="&maxMessagesStart.accesskey;"
                 oncommand="onCheckItem('nntp.maxArticles', [this.id]);"
                 prefattribute="value"
                 prefstring="mail.server.%serverkey%.notify.on"/>
       <html:input id="nntp.maxArticles" type="number" class="size4" min="1"
+                  wsm_persist="true"
                   aria-labelledby="nntp.notifyOn nntp.maxArticles maxMessagesEnd"
                   preftype="int"
                   prefstring="mail.server.%serverkey%.max_articles"/>
       <label control="nntp.maxArticles" value="&maxMessagesEnd.label;" id="maxMessagesEnd"/>
     </hbox>
     <checkbox hidefor="pop3,imap,movemail" wsm_persist="true" id="nntp.pushAuth"
               label="&alwaysAuthenticate.label;"
               accesskey="&alwaysAuthenticate.accesskey;"