I found it :
in fact I had to replace "if (data && data.length)" by "if (data)"
and now it's working with empty results.
Shouldn't it be the appopriate behaviour ?
On Sep 3, 2:47 pm, mathieuuu wrote:
> Does somebody has any idea ?
>
>
Does somebody has any idea ?
On 31 août, 15:28, mathieuuu wrote:
> Hi,
>
> Thanks for your answer rupak but I tried your fix and it did not give
> the expected result.
> On the contrary, now I think that the plug in is no longer using
> cache, even for non-empty results...
>
ges in autocomplete.js
>
> Search for "*if (data && data.length*)" condition which is inside "request"
> function. Add this code before the *if * condition
>
> if(data)
> data.length=0;
>
> Thanks
> Rupak
>
> On Mon, Aug 31, 2009 at 3:36 PM, m
Hello,
I am currently using the jquery autocomplete ($Id:
jquery.autocomplete.js 5785 2008-07-12 10:37:33Z) with remote data.
Obviously I did not disabled the cache and "matchSubset" option (all
matches of "foot" are a subset of all matches for "foo"), which
reduces the number of queries made to
4 matches
Mail list logo