-
4 Oct 2007 8:08 PM #1
[2.0a1][SOLVED] SearchField.js flaw
[2.0a1][SOLVED] SearchField.js flaw
I was using the searchfield plugin and found a flaw that I think should be changed.
Problem: Store is called before the value is cleared out.
I was doing a store / beforeload and was doing a searchField.getValue() and was still getting the value but based on the below snippt.
L24: this.store.reload({params:o});
L25: this.el.dom.value = '';
If you flipflop the 2 statements to below the problem does not occur as it should:
L24: this.el.dom.value = '';
L25: this.store.reload({params:o});
I did not know where else to put this so if you don't consider this a bug.
-MikeMike Giddens
=======================
Opportunity is missed by most people because it is dressed in overalls and looks like work - Thomas Edison
-
5 Oct 2007 2:20 AM #2
Changed, thanks.


Reply With Quote