advanced search focuses the first wizard field
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:07:26 +0000 (23:07 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:07:26 +0000 (23:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2673 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/advanced.js
Open-ILS/web/opac/skin/default/xml/advanced/advanced_wizard.xml

index 346ddec..392194b 100644 (file)
@@ -2,7 +2,10 @@
 
 attachEvt("common", "run", advInit);
 
-function advInit() { depthSelInit(); }
+function advInit() { 
+       $('advanced.wizard.contains').focus();
+       depthSelInit(); 
+}
 
 function advWizardRun() {
        var contains = $('advanced.wizard.contains').value;
index bceaf54..b5d6a04 100644 (file)
@@ -7,9 +7,6 @@
                        <td>&opac.advanced.wizard.contains;</td>
                        <td align='center'>
                                <input type='text' size='36' id='advanced.wizard.contains'> </input>
-                               <!--
-                               <script language='javascript'>$('advanced.wizard.contains').focus();</script>
-                               -->
                        </td>
                </tr>
                <tr>