Backed out changeset 99d2aab955ed (bug 1620310) for landing with wrong bug number: correct bug number is 1670459
This commit is contained in:
Родитель
00f30e7ca7
Коммит
d321a035e8
|
@ -98,7 +98,7 @@
|
|||
<checkbox wsm_persist="true" id="offline.notDownload" hidefor="imap"
|
||||
label="&offlineNotDownload.label;"
|
||||
accesskey="&offlineNotDownload.accesskey;"
|
||||
oncommand="onCheckItem('offline.notDownloadMin', [this.id]);"/>
|
||||
oncommand="onCheckItem('offline.notDownloadMin', 'offline.notDownload');"/>
|
||||
<checkbox wsm_persist="true" id="autosyncNotDownload" hidefor="pop3,nntp,movemail"
|
||||
label="&autosyncNotDownload.label;"
|
||||
accesskey="&autosyncNotDownload.accesskey;"
|
||||
|
@ -115,7 +115,7 @@
|
|||
<checkbox wsm_persist="true" id="nntp.downloadMsg"
|
||||
label="&nntpDownloadMsg.label;"
|
||||
accesskey="&nntpDownloadMsg.accesskey;"
|
||||
oncommand="onCheckItem('nntp.downloadMsgMin', [this.id]);"/>
|
||||
oncommand="onCheckItem('nntp.downloadMsgMin', 'nntp.downloadMsg');"/>
|
||||
<html:input id="nntp.downloadMsgMin" type="number"
|
||||
class="size2 input-inline" min="1" value="30"
|
||||
wsm_persist="true"
|
||||
|
@ -161,7 +161,7 @@
|
|||
</hbox>
|
||||
<hbox align="center" class="indent" hidefor="movemail,pop3,imap,none,rss">
|
||||
<checkbox id="nntp.removeBody" accesskey="&nntpRemoveMsgBody.accesskey;"
|
||||
label="&nntpRemoveMsgBody.label;" oncommand="onCheckItem('nntp.removeBodyMin', [this.id]);"/>
|
||||
label="&nntpRemoveMsgBody.label;" oncommand="onCheckItem('nntp.removeBodyMin', 'nntp.removeBody');"/>
|
||||
<html:input id="nntp.removeBodyMin" type="number"
|
||||
class="size2 input-inline" min="1" value="30"
|
||||
aria-labelledby="nntp.removeBody nntp.removeBodyMin daysOldMsg"/>
|
||||
|
|
|
@ -82,11 +82,12 @@ function getAccountValueIsLocked(aElement) {
|
|||
* Enables/disables element (slave) according to the checked state
|
||||
* of another elements (masters).
|
||||
*
|
||||
* @param {string} aChangeElementId - Slave element which should be enabled
|
||||
* if all the checkElementIDs are checked. Otherwise it gets disabled.
|
||||
* @param {string[]} aCheckElementIds - An array of IDs of the master elements.
|
||||
* @param aChangeElementId Slave element which should be enabled
|
||||
* if all the checkElementIDs are checked.
|
||||
* Otherwise it gets disabled.
|
||||
* @param aCheckElementIds An array of IDs of the master elements.
|
||||
*
|
||||
* @see bug 728681 for the pattern on how this is used.
|
||||
* See bug 728681 for the pattern on how this is used.
|
||||
*/
|
||||
function onCheckItem(aChangeElementId, aCheckElementIds) {
|
||||
let elementToControl = document.getElementById(aChangeElementId);
|
||||
|
|
Загрузка…
Ссылка в новой задаче