[TYPO3-core] RFC: Bug #16681: Live-Search: Search field does not always revert to default state when losing focus

Jeff Segars jsegars at alumni.rice.edu
Thu Jan 20 07:30:03 CET 2011


On 1/19/11 4:22 PM, Steffen Kamper wrote:
> Hi Jeff,
>
> just from reading, i think you could add the scope. In handleBlur you
> can deal with "this" instead of TYPO3LiveSearch.
> Scope is the 3rd parameter, so it should work like this:
>
> Ext.get('live-search-box').on('blur', TYPO3LiveSearch.handleBlur,
> TYPO3LiveSearch);
>
> could you check that?
>
> vg Steffen

Yep, you're right.  Last minute copy and paste error.

However, I need to revisit some other details of this patch.  The blur 
event is also firing when you click in the live search dropdown before 
the actual click can be handled.  More updates to come after some sleep :)

Thanks,
Jeff


More information about the TYPO3-team-core mailing list