fix refresh(). give button focus. In general, each new tab should explicitly focus...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jul 2005 16:45:34 +0000 (16:45 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jul 2005 16:45:34 +0000 (16:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1130 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/patron/patron_display.xul
Evergreen/staff_client/chrome/content/evergreen/patron/patron_display_overlay.xul

index 4b73386..2f4911b 100755 (executable)
@@ -10,6 +10,7 @@
        onload="params.w = window; 
                params.app = 'PatronDisplay'; 
                params.clamshell = 'PatronDisplay_groupbox';
+               mw.focus_widget( document, 'PatronNavBar_refresh' );
                mw.OpenILS_init(params);"
        onunload="mw.OpenILS_exit(params);"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
index 9206e0c..36a889e 100755 (executable)
        <command id="cmd_broken" oncommand="
                alert('Not Yet Implemented'); "/>
 
-       <command id="cmd_patron_refresh" oncommand="refresh()" />
+       <command id="cmd_patron_refresh" oncommand="try { refresh(); } catch(E) { alert(E); };" />
        <command id="cmd_patron_checkout" />
        <command id="cmd_patron_items" />
        <command id="cmd_patron_holds" />
        <command id="cmd_patron_bills" />
        <command id="cmd_patron_edit" />
-       <command id="cmd_patron_info" />
+       <command id="cmd_patron_info" oncommand="alert('info');"/>
 
 </commandset>