rem: if (arg.result && arg.smtpServer != oldSmtpServer) { 
add: if (arg.smtpServerKey != oldSmtpServerKey) { 
context: function onAdvanced(){    dump("onAdvanced..\n");    var oldSmtpServer = null; // where will I get this from?    var arg = {result: false,               smtpServer: oldSmtpServer };    window.openDialog('am-identity-advanced.xul','smtpadvanced',                      'modal,chrome', arg);        if (arg.result && arg.smtpServer != oldSmtpServer) {        // save the identity back to the page as a key        document.getElementById("identity.smtpServerKey").value =            arg.smtpServer.key;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc5ec69b96e4277905b0ad73d1811c314a7648d/am-main.js/buggy/mailnews/base/prefs/resources/content/am-main.js