rem: var value = elementsArray[element].value; if ((type=="" || type=="text") && value!="") { return true; 
add: if (type=="" || type=="text") {  var value = elementsArray[element].value; rv = true; if (value != "") {  return rv; } 
context:     okToCapture: function () {      var capture = document.getElementById("menu_capture");      if (!window._content.document) {        return false;      }      var formsArray = window._content.document.forms;      var form;      for (form=0; form<formsArray.length; form++) {        var elementsArray = formsArray[form].elements;        var element;        for (element=0; element<elementsArray.length; element++) {          var type = elementsArray[element].type;          var value = elementsArray[element].value;          if ((type=="" || type=="text") && value!="") {            return true;          }         }      }      return false;    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/43e2db14944b86c72852e4c7e5a8584e059cc87a/nsContextMenu.js/clean/xpfe/browser/resources/content/nsContextMenu.js