2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/cat.css" type="text/css"?>
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!DOCTYPE window PUBLIC "" ""[
14 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20 <?xul-overlay href="/xul/server/cat/copy_buckets_overlay.xul"?>
22 <window id="copy_buckets_win" title="&staff.cat.copy_buckets.window_title;"
23 onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" height="600" width="800" oils_persist="height width"
24 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
29 <scripts id="openils_util_scripts"/>
31 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
36 if (typeof JSAN == 'undefined') { throw( document.getElementById("commonStrings").getString('common.jsan.missing') ); }
37 JSAN.errorLevel = "die"; // none, warn, or die
38 JSAN.addRepository('/xul/server/');
39 JSAN.use('util.error'); g.error = new util.error();
40 g.error.sdump('D_TRACE','my_init() for copy_buckets.xul');
41 JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.init({'via':'stash'});
43 var copy_ids = xul_param(
46 'JSON2js_if_cgi' : true,
47 'JSON2js_if_xpcom' : true,
48 'stash_name':'cb_temp_copy_ids',
53 JSAN.use('cat.copy_buckets'); g.copy_buckets = new cat.copy_buckets();
56 'copy_ids' : copy_ids,
60 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
61 try { window.xulG.set_tab_name(document.getElementById("catStrings").getString('cat.copy_buckets.tab')); } catch(E) { alert(E); }
65 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ["cat/copy_buckets.xul", E]);
66 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
71 function default_focus() { try { setTimeout( function() { document.getElementById('copy_bucket_barcode_entry_textbox').focus(); }, 0); } catch(E) {} }
75 <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
76 <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
78 <commandset id="copy_buckets_cmds">
79 <command id="cmd_copy_bucket_submit_barcode" />
80 <command id="cmd_export_to_copy_status" />
81 <command id="copy_buckets_new_bucket" />
82 <command id="copy_buckets_delete_bucket" />
83 <command id="copy_buckets_delete_item" />
84 <command id="copy_buckets_add" />
85 <command id="copy_buckets_sel_add" />
86 <command id="copy_buckets_export" />
87 <command id="copy_buckets_transfer_to_volume" />
88 <command id="copy_buckets_batch_copy_edit" />
89 <command id="copy_buckets_batch_copy_delete" />
90 <command id="cmd_request_items" />
93 <box id="copy_buckets_main" />