2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10 <?xml-stylesheet href="/xul/server/skin/circ.css" type="text/css"?>
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
14 <!DOCTYPE window PUBLIC "" ""[
15 <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/circ/copy_status_overlay.xul"?>
23 <window id="copy_status_win"
24 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
25 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
27 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
29 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
30 <scripts id="openils_util_scripts"/>
32 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
37 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
38 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
39 JSAN.errorLevel = "die"; // none, warn, or die
40 JSAN.addRepository('/xul/server/');
41 JSAN.use('util.error'); g.error = new util.error();
42 g.error.sdump('D_TRACE','my_init() for copy_status.xul');
44 JSAN.use('circ.copy_status'); g.copy_status = new circ.copy_status();
50 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
51 try { window.xulG.set_tab_name('Item Status'); } catch(E) { alert(E); }
54 JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.stash_retrieve();
56 g.barcodes = xul_param(
59 'JSON2js_if_cgi' : true,
60 'stash_name':'temp_barcodes_for_copy_status',
65 if (g.barcodes.length > 0) {
66 JSAN.use('util.exec'); var exec = new util.exec();
68 for (var i = 0; i < g.barcodes.length; i++) {
72 g.copy_status.copy_status(b);
81 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
82 "system administrator or software developer the following:\n"
83 + 'circ.copy_status.xul\n' + E + '\n';
84 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
89 function default_focus() { try { setTimeout( function() { document.getElementById('copy_status_barcode_entry_textbox').focus(); }, 0); } catch(E) {} }
93 <commandset id="copy_status_cmds">
94 <command id="cmd_copy_status_submit_barcode" />
95 <command id="cmd_copy_status_upload_file" />
96 <command id="cmd_copy_status_print" />
97 <command id="cmd_copy_status_export" />
98 <command id="cmd_copy_status_print_export" />
99 <command id="cmd_copy_status_reprint" />
100 <command id="cmd_copy_status_done" />
101 <command id="save_columns" />
102 <command id="sel_copy_details" disabled="true"/>
103 <command id="sel_mark_items_damaged" disabled="true"/>
104 <command id="sel_mark_items_missing" disabled="true"/>
105 <command id="cmd_replace_barcode" disabled="true"/>
106 <command id="sel_patron" disabled="true"/>
107 <command id="sel_checkin" disabled="true"/>
108 <command id="sel_renew" disabled="true"/>
109 <command id="sel_edit" disabled="true"/>
110 <command id="sel_opac" disabled="true"/>
111 <command id="sel_bucket" disabled="true"/>
112 <command id="sel_spine" disabled="true"/>
113 <command id="sel_transit_abort" disabled="true"/>
114 <command id="sel_clip" disabled="true"/>
116 <command id="cmd_add_items" disabled="true"/>
117 <command id="cmd_delete_items" disabled="true"/>
118 <command id="cmd_transfer_items" disabled="true"/>
119 <command id="cmd_add_volumes" disabled="true"/>
120 <command id="cmd_edit_volumes" disabled="true"/>
121 <command id="cmd_delete_volumes" disabled="true"/>
122 <command id="cmd_mark_volume" disabled="true"/>
123 <command id="cmd_mark_library" disabled="true"/>
124 <command id="cmd_transfer_volume" disabled="true"/>
128 <popupset id="copy_status_popupset"/>
129 <popupset id="copy_cat_status_popupset"/>
131 <box id="copy_status_main" />