toward checkin
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Dec 2005 17:45:29 +0000 (17:45 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Dec 2005 17:45:29 +0000 (17:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2378 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js
Open-ILS/xul/staff_client/server/main/menu.js

index 30e34fd..4b61dfd 100644 (file)
@@ -24,6 +24,7 @@ var api = {
 
 var urls = {
        'opac' : 'http://dev.gapines.org/',
+       'remote_checkin' : '/xul/server/circ/checkin.xul',
        'remote_checkout' : '/xul/server/circ/checkout.xul',
        'remote_debug_console' : '/xul/server/util/shell.html',
        'remote_debug_fieldmapper' : '/xul/server/util/fieldmapper.xul',
index a3f36b6..563b78c 100644 (file)
@@ -68,6 +68,12 @@ main.menu.prototype = {
 
 
                        /* Circulation Menu */
+                       'cmd_circ_checkin' : [
+                               ['command','keypress'],
+                               function() { 
+                                       obj.set_tab(urls.remote_checkin + '?session='+obj.w.escape(session),{},{});
+                               }
+                       ],
                        'cmd_circ_checkout' : [
                                ['command','keypress'],
                                function() { 
@@ -75,6 +81,7 @@ main.menu.prototype = {
                                }
                        ],
 
+
                        /* Admin menu */
                        'cmd_test_html' : [
                                ['command','keypress'],