a totally redundant "Exit" button for patron display
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Feb 2007 16:31:02 +0000 (16:31 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Feb 2007 16:31:02 +0000 (16:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6902 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js
Open-ILS/xul/staff_client/server/patron/display.xul
Open-ILS/xul/staff_client/server/patron/display_overlay.xul

index 136ca39..a7fd595 100644 (file)
@@ -248,6 +248,12 @@ patron.display.prototype = {
                                                        );
                                                }
                                        ],
+                                       'cmd_patron_exit' : [
+                                               ['command'],
+                                               function(ev) {
+                                                       xulG.set_tab(urls.XUL_PATRON_BARCODE_ENTRY,{},{});
+                                               }
+                                       ],
                                        'cmd_patron_holds' : [
                                                ['command'],
                                                function(ev) {
index aa14bac..6299eae 100644 (file)
@@ -96,6 +96,7 @@
                <command id="cmd_patron_bills" />
                <command id="cmd_patron_edit" />
                <command id="cmd_patron_info" />
+               <command id="cmd_patron_exit" />
                <command id="cmd_patron_retrieve" />
                <command id="cmd_search_form" />
        </commandset>
index f06a11d..dbe0e15 100644 (file)
@@ -74,6 +74,8 @@
                label="&staff.patron_navbar.edit;" accesskey="&staff.patron_navbar.edit.accesskey;"/>
        <button id="PatronNavBar_info" command="cmd_patron_info" class="nav"
                label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;"/>
+       <button id="PatronNavBar_exit" command="cmd_patron_exit" class="nav"
+               label="Exit" accesskey="x"/>
 </hbox>
 
 <hbox id="PatronNavBar0">