submitting search when search class or format drop-downs are focused and use presses...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:04:40 +0000 (23:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:04:40 +0000 (23:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2672 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/search_bar.js

index 02cba3f..5088892 100644 (file)
@@ -22,6 +22,10 @@ function searchBarInit() {
        G.ui.searchbar.text.focus();
        G.ui.searchbar.text.onkeydown = 
                function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
+       _ts.onkeydown = 
+               function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
+       _fs.onkeydown = 
+               function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
 
        G.ui.searchbar.submit.onclick = searchBarSubmit;