rem: loadTaglineFile(tFile); setTimeout(tzOnSel,10); 
add: if(loadTaglineFile(tFile)==-1) loadList(); else setTimeout(tzOnSel,10); 
context: function tzOnLoad() {  lBox      = document.getElementById("tzListBox");  textBox   = document.getElementById("tagline");  addButton = document.getElementById("tzAdd");  modButton = document.getElementById("tzModify");  delButton = document.getElementById("tzDel");  insButton = document.getElementById("insert-button");  tzCmd = window.arguments[0];  tzDoc = window.arguments[1];  // String bundle code taken from chrome://editor/content/editorUtilities.js  // Used under terms of the NPL  try {    var strBundleService =        Components.classes["@mozilla.org/intl/stringbundle;1"].getService();      strBundleService =          strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);      tzBundle = strBundleService.createBundle("chrome://tagzilla/locale/tagzilla.properties");  }  catch(e) {}  if(tzCmd=="TZ_CLIPBOARD") {    insButton.setAttribute("label",getText("clipboardLabel"));  }  include('chrome://jslib/content/io/file.js');  include('chrome://jslib/content/io/fileUtils.js');  var tFile = readMyPref("tagzilla.default.file","string","");  if(tFile == "") {    loadList();  }  else {    loadTaglineFile(tFile);    setTimeout(tzOnSel,10);  }}
meta: 1647	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1647/e1977bde96c0c7cea1e11fcca960d5947ede7ba1/tagzilla.js/clean/src/tagzilla/content/tagzilla.js