add: s=util_stripCharsFromString(selectedRange,"#_+()- "); if(util_validateInteger(s) && s.length >= 7) { document.getElementById("item-call").hidden=false; document.getElementById("item-call").label="Call \""+ selectedRange + " \""; document.getElementById("item-call").setAttribute("oncommand","DoTestSendCall("+s+")"); } else { document.getElementById("item-call").hidden=true; } } 
context: function BrowserPopupShowing () {  /*   * Open Link as New Tab     */   if(document.commandDispatcher.focusedElement && document.commandDispatcher.focusedElement.href) {	document.getElementById("link_as_new_tab").hidden=false;  } else {	document.getElementById("link_as_new_tab").hidden=true;  }  var selectedRange=getBrowser().selectedBrowser.contentDocument.getSelection();  document.getElementById("item-call").label="Call \""+ selectedRange + " \"";  document.getElementById("item-call").setAttribute("oncommand","DoTestSendCall("+selectedRange+")");    /* Enable Copy */  if(selectedRange.toString()) {    document.getElementById("item-copy").style.display="block";  }    /* Enable Paste - Can paste only if the focused element has a value attribute. :)     THis may affect XHTML nodes. Users may be able to paste things within XML nodes.   */  if(document.commandDispatcher.focusedElement.nodeName=="INPUT"||document.commandDispatcher.focusedElement.nodeName=="TEXTAREA") {    if(DoClipCheckPaste()) {      document.getElementById("item-paste").style.display="block";	    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f30533f1376efb5c3194224c7d5a60f02f78fba3/minimo.js/clean/minimo/chrome/content/minimo.js