rem: var prefPrefix = "tagzilla."+gCurrentIdentity.key; if(readMyPref(prefPrefix+".mailAuto","bool",true) && readMyPref(prefPrefix+".mailPick","bool",false)) { 
add: tzOverrideCommands(aWin); 
context: function tzComposeLoad(aWin) {  try {    include('chrome://jslib/content/io/file.js');  }  catch(ex) {    //alert(getText("noJSlib"));    aWin.haveJSlib = false;    return;  }  var prefPrefix = "tagzilla."+gCurrentIdentity.key;  if(readMyPref(prefPrefix+".mailAuto","bool",true) &&    readMyPref(prefPrefix+".mailPick","bool",false)) {    tzInsertTagline();    return;  }  /*     The following method of overriding the commands was found in EnigMail.     A bit ironic, considering I'm doing this to be able to coexist with EnigMail.     Check them out: http://enigmail.mozdev.org  */  aWin.tzCmdActions = new Object();  var cmdIDs = ["cmd_sendButton", "cmd_sendNow", "cmd_sendWithCheck", "cmd_sendLater"];  for (var i=0; i<cmdIDs.length; i++) {    var id=cmdIDs[i];    var el=aWin.document.getElementById(id);    aWin.tzCmdActions[id]=el.getAttribute("oncommand");    el.setAttribute("oncommand","tzSendCmd('"+id+"')");  }}
meta: 1647	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1647/0833b7acbfa105ad25bfd452840359df416b4730/tagzillaComposeOverlay.js/clean/src/tagzilla/content/tagzillaComposeOverlay.js