add a way to close the live search box with esc
Reported by Jakub Suder | October 10th, 2008 @ 11:15 AM
It would be nice if you could close the results popup that appears when you use the live search by pressing ESC key.
Proposed solution: add those lines to hobo-rapid.js to "input.live_search[type=search]" function block:
Event.observe(element, 'keypress', function(e) {
if (e.keyCode == 27) { Hobo.hide("search-results-panel"); } });
(I'm not sure if this is completely correct, but it works...)
Comments and changes to this ticket
-
Tom Locke October 14th, 2008 @ 05:22 PM
- State changed from new to resolved
Nice idea
Implemented in 533eb2d
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป