/[bfilter]/trunk/bfilter.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bfilter.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 41 by dpavlin, Tue Oct 19 15:45:52 2004 UTC revision 42 by dpavlin, Wed Dec 15 15:35:24 2004 UTC
# Line 256  BFilter.prototype.show_filter = function Line 256  BFilter.prototype.show_filter = function
256    
257  }  }
258    
259    BFilter.prototype.show_all = function (user_filter) {
260    
261            this.show_status("Showing all entries\n");
262    
263            if (this.timeout_handle) {
264                    clearTimeout(this.timeout_handle);
265                    this.timeout_handle = null;
266                    this.debug("timeout cleared");
267            }
268    
269            this.clear_results();
270            this.hits = 0;
271    
272            for (part in this.arr) {
273                    // skip elements which are not really parts
274                    if (part == 'length' || part == 'min_len') continue;
275    
276                    this.debug("part: "+part);
277                    for(var i = 0 ; i < this.arr[part].length ; i++) {
278                            this.result(this.arr[part][i]);
279                            this.hits++;
280                    }
281    
282                    this.show_results();
283            }
284    
285            this.show_status(user_filter);
286    
287    }
288    

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26