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>',
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(); }
['command','keypress'],
function() { obj.close_tab(); }
],
- 'cmd_broken' : [
- ['command','keypress'],
- function() { alert('Not Yet Implemented'); }
- ],
+
'cmd_circ_checkout' : [
['command','keypress'],
function() {
obj.set_tab(urls.xul_opac_wrapper,{},content_params);
}
],
+
'cmd_test_html' : [
['command','keypress'],
function() {
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) {