rem: else if(subElementValue == 'Or') 
add: else if(logic == 'Or') 
context: function doMakeQuery( query ){  var frm = query.form;  var formElements = frm.elements;  query.value = '';  for(var i=0; i<formElements.length; i++)  {    var element = formElements[i];    var elementName = element.name;    var elementValue = element.value;    if(elementValue.length > 0)    {      for(var j=0; j<formElements.length; j++)      {        var subElement = formElements[j];        if(subElement.name == (elementName + modifierSuffix))        {          var subElementValue;                    // support drop-down select lists, radio buttons and text fields          if(subElement.type == "select")          {            subElementValue = subElement.options[subElement.selectedIndex].value;          }          else if(subElement.type == "radio")          {            // radio button elements often have the same element name,             // so ensure we have the right one                        if(subElement.checked)            {              subElementValue = subElement.value;                          }            else            {              continue;            }          }          else          {            subElementValue = subElement.value;          }                    if(subElementValue == 'And')          {            addFieldWithModifier(query, AND_MODIFIER, elementName, elementValue);          }               else if(subElementValue == 'Not')          {            addFieldWithModifier(query, NOT_MODIFIER, elementName, elementValue);          }          else if(subElementValue == 'Or')          {            addFieldWithModifier(query, OR_MODIFIER, elementName, elementValue);          }          else          {            addFieldWithModifier(query, DEFAULT_MODIFIER, elementName, elementValue);          }        }      }    }  }    if(debug)  {    alert('Query:' + query.value);  }    if(submitOnConstruction)  {    frm.submit();  }}
meta: 841	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/841/f557749d86255ec8cd0e7032ae78face2f248211/luceneQueryConstructor.js/buggy/sandbox/contributions/javascript/queryConstructor/luceneQueryConstructor.js