--- trunk/combo.html 2004/09/14 22:55:40 24
+++ trunk/combo.html 2004/09/15 15:30:04 25
@@ -61,21 +61,26 @@
function myfilter() {
document.getElementById('textfilter').focus();
-document.getElementById('textfilter').caretPos=1;
+ document.getElementById('textfilter').caretPos=1;
// document.getElementById('textfilter').select();
document.myfilter = new BFilter(headlines);
-
- document.myfilter.html_pre = '';
- document.myfilter.html_full_pre = '';
+
+ document.myfilter.result = function (arr) {
+ return '';
+ }
+
+ // this function is called when updating innerHTML with results
+ document.myfilter.display = function (html) {
+ return '';
+ }
}
function combo_filter(document,value) {
if (! combo_active) {
- return;
+ return null;
}
return document.myfilter.filter(document, value, headlines);