#291 ✓resolved
Jakub Suder

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages