rem: document.getElementById("imap.personalNamespace").value = imapServer.personalNamespace; document.getElementById("imap.publicNamespace").value = imapServer.publicNamespace; document.getElementById("imap.serverDirectory").value = imapServer.serverDirectory; document.getElementById("imap.otherUsersNamespace").value = imapServer.otherUsersNamespace; 
add: document.getElementById("imap.personalNamespace").setAttribute("value", imapServer.personalNamespace); document.getElementById("imap.publicNamespace").setAttribute("value", imapServer.publicNamespace); document.getElementById("imap.serverDirectory").setAttribute("value", imapServer.serverDirectory); document.getElementById("imap.otherUsersNamespace").setAttribute("value", imapServer.otherUsersNamespace); 
context: function saveServerLocally(imapServer){    // boolean prefs, JS does the conversion for us    document.getElementById("imap.dualUseFolders").value = imapServer.dualUseFolders.toString();    document.getElementById("imap.usingSubscription").value = imapServer.usingSubscription.toString();    // string prefs    document.getElementById("imap.personalNamespace").value = imapServer.personalNamespace;    document.getElementById("imap.publicNamespace").value = imapServer.publicNamespace;    document.getElementById("imap.serverDirectory").value = imapServer.serverDirectory;    document.getElementById("imap.otherUsersNamespace").value = imapServer.otherUsersNamespace;    // boolean prefs, JS does the conversion for us    document.getElementById("imap.overrideNamespaces").value = imapServer.overrideNamespaces.toString();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc5ec69b96e4277905b0ad73d1811c314a7648d/am-server.js/buggy/mailnews/base/prefs/resources/content/am-server.js