rem: retentionSettings.cleanupBodiesByDates = document.getElementById("nntp.removeBody").checked; 
add: retentionSettings.cleanupBodiesByDays = document.getElementById("nntp.removeBody").checked; 
context: function onSave(){    var retentionSettings = new Array;    var downloadSettings = new Array;    gIncomingServer.limitMessageSize = document.getElementById("offline.notDownload").checked;    gIncomingServer.maxMessageSize = document.getElementById("offline.notDownloadMin").value;    if(document.getElementById("nntp.keepAllMsg").checked)        retentionSettings.retainByPreference = 1;		    else if(document.getElementById("nntp.keepOldMsg").checked)        retentionSettings.retainByPreference = 2;    else if(document.getElementById("nntp.keepNewMsg").checked)        retentionSettings.retainByPreference = 3;    document.getElementById("nntp.keepMsg").value = retentionSettings.retainByPreference;    retentionSettings.daysToKeepHdrs = document.getElementById("nntp.keepOldMsgMin").value;    retentionSettings.daysToKeepBodies = document.getElementById("nntp.removeBodyMin").value;    retentionSettings.numHeadersToKeep = document.getElementById("nntp.keepNewMsgMin").value;    retentionSettings.keepUnreadMessagesOnly = document.getElementById("nntp.keepUnread").checked;    retentionSettings.cleanupBodiesByDates = document.getElementById("nntp.removeBody").checked;    downloadSettings.downloadByDate = document.getElementById("nntp.downloadMsg").checked;    downloadSettings.downloadUnreadOnly = document.getElementById("nntp.downloadUnread").checked;    downloadSettings.ageLimitOfMsgsToDownload = document.getElementById("nntp.downloadMsgMin").value;    gIncomingServer.retentionSettings = retentionSettings;    gIncomingServer.downloadSettings = downloadSettings;    if (gImapIncomingServer) {        gImapIncomingServer.downloadBodiesOnGetNewMail = document.getElementById("offline.downloadBodiesOnGetNewMail").checked;        gImapIncomingServer.offlineDownload = document.getElementById("offline.newFolder").checked;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ce4cd2a55aca78a79ddf0a21a73d6c1c077fdae1/am-offline.js/buggy/mailnews/base/prefs/resources/content/am-offline.js