rem: org.value = crl.org; 
add: org.setAttribute("value",crl.org); 
context: function onLoad(){  pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock);    isupport = pkiParams.getISupportAtIndex(1);  if (isupport) {    crl = isupport.QueryInterface(nsICrlEntry);  }  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var yesButton = bundle.GetStringFromName("yesButton");  var noButton = bundle.GetStringFromName("noButton");  document.documentElement.getButton("accept").label = yesButton;  document.documentElement.getButton("cancel").label = noButton;    var nextUpdateStr;  var orgStr;  var orgUnitStr;  if(crl != null) {        nextUpdateStr = crl.nextUpdateLocale;    if( (nextUpdateStr == null) || (nextUpdateStr.length == 0) ){      nextUpdateStr = bundle.GetStringFromName("undefinedValStr");    }    var nextUpdate = document.getElementById("nextUpdate");    nextUpdate.setAttribute("value",nextUpdateStr);    var org = document.getElementById("orgText");    org.value = crl.org;    var orgUnit = document.getElementById("orgUnitText");    orgUnit.setAttribute("value",crl.orgUnit);    prefs = Components.classes["@mozilla.org/preferences;1"].getService(nsIPref);    var autoupdateEnabledString   = "security.crl.autoupdate.enable." + crl.nameInDb;        var updateEnabled = false;    try {      updateEnabled = prefs.GetBoolPref(autoupdateEnabledString);      if(updateEnabled) {        var autoupdateURLTypeString   = "security.crl.autoupdate.urlType." + crl.nameInDb;        var autoupdateURLString       = "security.crl.autoupdate.url." + crl.nameInDb;          //If this crl already has a download url preference defined, update it        var type = prefs.GetIntPref(autoupdateURLTypeString);        if(type == crl.AUTOUPDATE_USE_ADVERTISED_URL) {          if(crl.advertisedURL==null || crl.advertisedURL.length==0) {            prefs.SetCharPref(autoupdateURLString,bundle.GetStringFromName("undefinedValStr"));          } else {            prefs.SetCharPref(autoupdateURLString,crl.advertisedURL);          }        } else {          prefs.SetCharPref(autoupdateURLString,crl.lastFetchURL);        }        prefs.savePrefFile(null);    }    }catch(exception){}    var statement = document.getElementById("status");    var question = document.getElementById("question");    if(updateEnabled) {      statement.setAttribute("value",bundle.GetStringFromName("enabledStatement"));      question.setAttribute("value",bundle.GetStringFromName("crlAutoupdateQuestion2"));    } else {      statement.setAttribute("value",bundle.GetStringFromName("disabledStatement"));      question.setAttribute("value",bundle.GetStringFromName("crlAutoupdateQuestion1"));    }  }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d4dd9fbd938ddc46edc343d867de9237a7c3e34/crlImportDialog.js/clean/security/manager/pki/resources/content/crlImportDialog.js