focus first search box on clear
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jul 2008 17:20:48 +0000 (17:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jul 2008 17:20:48 +0000 (17:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10076 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 7f2b2a3..d282966 100644 (file)
@@ -78,6 +78,7 @@ function clearSearchBoxes() {
             setSelector($n(rows[t], 'type'), 'keyword');
         }
     }
+    $n(rows[0], 'term').focus();
 }