rem: var method = methodNode.selectedItem.getAttribute("data"); gMethodName = methodNode.selectedItem.getAttribute("value"); 
add: var method = methodNode.selectedItem.getAttribute("value"); gMethodName = methodNode.selectedItem.getAttribute("label"); 
context: function doFind(){  // get RDF datasource to query  var datasourceNode = document.getElementById("datasource");  if (!datasourceNode)    return false;  var datasource = datasourceNode.selectedItem.getAttribute("data");  gDatasourceName = datasourceNode.selectedItem.getAttribute("value");  // get match  var matchNode = document.getElementById("match");  if (!matchNode)    return false;  var match = matchNode.selectedItem.getAttribute("data");  gMatchName = matchNode.selectedItem.getAttribute("value");  // get method  var methodNode = document.getElementById("method");  if (!methodNode)    return false;  var method = methodNode.selectedItem.getAttribute("data");  gMethodName = methodNode.selectedItem.getAttribute("value");  // get user text to find  if (!gFindText || !gFindText.value)    return false;   gTextName = gFindText.value;  // construct find URL  var url = "find:datasource=" + datasource;  url += "&match=" + match;  url += "&method=" + method;  url += "&text=" + escape(gTextName);  // load find URL into results pane  var resultsTree = document.getElementById("findresultstree");  resultsTree.setAttribute("ref", "");  resultsTree.setAttribute("ref", url);  // enable "Save Search" button  var searchButton = document.getElementById("SaveSearch");  searchButton.removeAttribute("disabled");  resultsTree.focus();  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/bm-find.js/clean/xpfe/components/bookmarks/resources/bm-find.js