dev tools
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 11 Dec 2005 07:40:48 +0000 (07:40 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 11 Dec 2005 07:40:48 +0000 (07:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2333 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 606c506..5d0728e 100644 (file)
@@ -23,6 +23,11 @@ var api = {
 var urls = {
        'opac' : 'http://dev.gapines.org/',
        'remote_checkout' : '/xul/server/circ/checkout.xul',
+       'remote_debug_console' : '/xul/server/util/shell.html',
+       'remote_debug_fieldmapper' : '/xul/server/util/fieldmapper.xul',
+       'remote_debug_filter_console' : '/xul/server/util/filter_console.xul',
+       'remote_debug_shell' : '/xul/server/util/shell.html',
+       'remote_debug_xuleditor' : '/xul/server/util/xuleditor.xul',
        'remote_menu_frame' : '/xul/server/main/menu_frame.xul',
        'remote_patron_barcode_entry' : '/xul/server/patron/barcode_entry.xul',
        'remote_patron_bills' : 'data:text/html,<h1>Bills Here</h1>',
index 4b07dae..6d0ee58 100644 (file)
@@ -24,6 +24,11 @@ main.menu.prototype = {
                obj.view.panels = obj.view.tabbox.lastChild;
 
                var cmd_map = {
+                       'cmd_broken' : [
+                               ['command','keypress'],
+                               function() { alert('Not Yet Implemented'); }
+                       ],
+
                        'cmd_close_window' : [ 
                                ['command','keypress'], 
                                function() { obj.w.close(); } 
@@ -43,10 +48,7 @@ main.menu.prototype = {
                                ['command','keypress'],
                                function() { obj.close_tab(); }
                        ],
-                       'cmd_broken' : [
-                               ['command','keypress'],
-                               function() { alert('Not Yet Implemented'); }
-                       ],
+
                        'cmd_circ_checkout' : [
                                ['command','keypress'],
                                function() { 
@@ -60,6 +62,7 @@ main.menu.prototype = {
                                        obj.set_tab(urls.xul_opac_wrapper,{},content_params);
                                }
                        ],
+
                        'cmd_test_html' : [
                                ['command','keypress'],
                                function() {
@@ -72,6 +75,37 @@ main.menu.prototype = {
                                        obj.set_tab(urls.test_xul,{},{});
                                }
                        ],
+                       'cmd_console' : [
+                               ['command','keypress'],
+                               function() {
+                                       obj.set_tab(urls.remote_debug_console,{},{});
+                               }
+                       ],
+                       'cmd_shell' : [
+                               ['command','keypress'],
+                               function() {
+                                       obj.set_tab(urls.remote_debug_shell,{},{});
+                               }
+                       ],
+                       'cmd_xuleditor' : [
+                               ['command','keypress'],
+                               function() {
+                                       obj.set_tab(urls.remote_debug_xuleditor,{},{});
+                               }
+                       ],
+                       'cmd_filter_console' : [
+                               ['command','keypress'],
+                               function() {
+                                       obj.set_tab(urls.remote_debug_filter_console,{},{});
+                               }
+                       ],
+                       'cmd_fieldmapper' : [
+                               ['command','keypress'],
+                               function() {
+                                       obj.set_tab(urls.remote_debug_fieldmapper,{},{});
+                               }
+                       ],
+
                };
 
                for (var i in cmd_map) {