add:   var event = document.createEvent('Events'); event.initEvent('NameChange', false, true); document.getElementById("configTree").dispatchEvent(event);  
context: function ModifyPref(entry){  if (entry.lockCol == PREF_IS_LOCKED)    return false;  var title = gConfigBundle.getFormattedString("modify_title", [gTypeStrs[entry.typeCol]]);  if (entry.typeCol == nsIPrefBranch.PREF_BOOL) {    var check = { value: entry.valueCol == "false" };    if (!entry.valueCol && !gPromptService.select(window, title, entry.prefCol, 2, [false, true], check))      return false;    gPrefBranch.setBoolPref(entry.prefCol, check.value);  } else {    var result = { value: entry.valueCol };    var dummy = { value: 0 };    if (!gPromptService.prompt(window, title, entry.prefCol, result, null, dummy))      return false;    if (entry.typeCol == nsIPrefBranch.PREF_INT) {      // | 0 converts to integer or 0; - 0 to float or NaN.      // Thus, this check should catch all cases.      var val = result.value | 0;      if (val != result.value - 0) {        var err_title = gConfigBundle.getString("nan_title");        var err_text = gConfigBundle.getString("nan_text");        gPromptService.alert(window, err_title, err_text);        return false;      }      gPrefBranch.setIntPref(entry.prefCol, val);    } else {      var supportsString = Components.classes[nsSupportsString_CONTRACTID].createInstance(nsISupportsString);      supportsString.data = result.value;      gPrefBranch.setComplexValue(entry.prefCol, nsISupportsString, supportsString);    }  }  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/839211c13f3e9dcdc92e62773a174b6a3c225481/config.js/clean/xpfe/global/resources/content/config.js