rem: PlacesPage.applyFilter = function PP_applyFilter(filterString) { var searchFilter = document.getElementById("searchFilter"); var collectionName = searchFilter.getAttribute("collection"); if (collectionName == "collection") { alert("Search Only This Collection Not Yet Supported"); this.setFilterCollection("all"); } else if (collectionName == "all") { this._buildQuery(filterString); } }; 
add: applyFilter: function PP_applyFilter(filterString) { var searchFilter = document.getElementById("searchFilter"); var collectionName = searchFilter.getAttribute("collection"); switch (collectionName) { case "collection": var folder = this._content.getResult().folderId; this._content.applyFilter(filterString, true, folder); break; case "bookmarks": this._content.applyFilter(filterString, true, 0); break; case "history": this._content.applyFilter(filterString, false, 0); break; case "all": this._content.filterString = filterString; break; } }, 
context: PlacesPage.applyFilter = function PP_applyFilter(filterString) {  var searchFilter = document.getElementById("searchFilter");  var collectionName = searchFilter.getAttribute("collection");  if (collectionName == "collection") {    alert("Search Only This Collection Not Yet Supported");    this.setFilterCollection("all");  }  else if (collectionName == "all") {    this._buildQuery(filterString);  }};
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9eadb3123718cf95469d4328761af3947791287a/places.js/clean/browser/components/places/content/places.js