[dev] Quicksearch and other ajax on nag

Chuck Hagenbuch chuck at horde.org
Mon Nov 27 08:56:25 PST 2006


Quoting Jason Clifton <jason at citydiesel.net>:

> I'm integrating the quicksearch changes that have been made to the    
> head version of nag, and I have some other ajax that's been added to  
>   the page.  The panel.inc menu updates with a javascript function    
> send() see attachment (code).  I call the quickfinder behavior with   
>  this instead of window load
>
> Event.observe('quicksearchL', 'click', QuickFinder.attachBehavior);
>
> When you actually do a page refresh the javascript search works    
> correctly, however if you do a refresh with the ajax the search  
> works   correctly but if you delete the search term too quickly it  
> scrambles   the table information, see link   
> http://www.citydiesel.net/screencap.jpg . I think its  probably  
> being  caused by a javascript behavior not being attached but  I  
> have no Idea  what it would be.
>
> Can anyone offer any suggestions or insights?

No real ideas - any javascript errors when this happens? (try Firebug  
if you don't already have it).

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list