rem: pref.SetIntPref("general.open_location.last_window_choice", dialog.openAppList.data); 
add: pref.SetIntPref("general.open_location.last_window_choice", dialog.openAppList.value); 
context: function open() {  var url = browser.getShortcutOrURI(dialog.input.value);  try {    switch (dialog.openAppList.data) {      case "0":        browser.loadURI(url);        break;      case "1":         window.opener.delayedOpenWindow(getBrowserURL(), "all,dialog=no", url);        break;      case "2":        // editPage is in utilityOverlay.js (all editor openers with URL should use this)        // 3rd param tells editPage to use "delayedOpenWindow"        editPage(url, window.opener, true);        break;    }  }  catch(exception) {  }    if (pref) {    pref.SetUnicharPref("general.open_location.last_url", dialog.input.value);    pref.SetIntPref("general.open_location.last_window_choice", dialog.openAppList.data);  }  // Delay closing slightly to avoid timing bug on Linux.  window.close();  return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/openLocation.js/buggy/xpfe/communicator/resources/content/openLocation.js