[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
Wed Jan 19 23:01:46 CET 2011


Hey guys,

This is a SVN patch request.

Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=16681
Branch: trunk

Problem:
When leaving the search field, if there is no text entered Live Search 
should return to its default state and display "Enter search term." 
This happens consistently when clicking in the black top bar. When 
clicking into an iFrame, it only works for the initial module that is 
loaded. As you continue to use other modules in the backend, it quits 
working.

Solution:
Add a new event listener outside the scope of the ExtJS widget that 
handles the blur event.  Thanks to Steffen Kamper for suggesting this 
approach.

Additional Notes:
To test, just use the backend and as you browser between modules make 
sure that the Live Search shows and hides consistently no matter where 
you click.  Without the patch, the hiding will be very inconsistent when 
clicking inside iframes.

Thanks,
Jeff


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16681_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110119/bbb45927/attachment.txt>


More information about the TYPO3-team-core mailing list