[HTML_AJAX-devel] SingleBuffer Queue Behaviour

Joshua Eichorn josh at bluga.net
Mon Jun 2 09:37:54 MST 2008


shangxiao wrote:
> Hi all,
>
> Just a question about the behaviour of the SingleBuffer queue.
>
> Is it worth adding an option to disable the immediate sending of the first
> request?  The reason why I ask is because as I was using
> HTML_QuickForm_Livesearch and tracking the ajax requests on my server while
> playing with the interval delay, I found it strange that for longer delay
> times, I was still getting a request for the first character that I had
> typed.  At first I thought this was a bug and then I read the javascript and
> found that it was deliberate.  My intention is to get a livesearch text
> field happening but delay sending a request to the server until the user had
> stopped typing in the text field.  So would this be a reasonable request?  I
> could imagine that in the future I would want similar functionality.
>
> Regards,
> David
>   
Added an option to remove that sounds reasonable.  If you send me a 
patch i will get it in for the next bug fix release which should be in 
the next week or so.

-josh


More information about the Html_ajax-devel mailing list