From: alecm <svn...@pl...> - 2006-03-23 22:29:37
|
Author: alecm Date: Thu Mar 23 22:27:49 2006 New Revision: 9373 Modified: Plone3rdParty/branches/2.1/skins/plone_3rdParty/livesearch.js Log: KHTML needs an onblur event too Modified: Plone3rdParty/branches/2.1/skins/plone_3rdParty/livesearch.js ============================================================================== --- Plone3rdParty/branches/2.1/skins/plone_3rdParty/livesearch.js (original) +++ Plone3rdParty/branches/2.1/skins/plone_3rdParty/livesearch.js Thu Mar 23 22:27:49 2006 @@ -77,6 +77,7 @@ searchInput.addEventListener("keydown",liveSearchKeyPress,false); searchInput.addEventListener("focus",liveSearchDoSearch,false); searchInput.addEventListener("keydown",liveSearchStart, false); + searchInput.addEventListener("blur",liveSearchHideDelayed,false); } else if (searchInput.addEventListener) { searchInput.addEventListener("keypress",liveSearchKeyPress,false); searchInput.addEventListener("blur",liveSearchHideDelayed,false); |