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/cat.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/cat/copy_buckets_overlay.xul"?>
23 <window id="copy_buckets_win" title="Copy Buckets"
24 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }" height="600" width="800" persist="height,width"
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( document.getElementById("commonStrings").getString('common.jsan.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_buckets.xul');
43 JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.init({'via':'stash'});
45 var copy_ids = xul_param(
48 'JSON2js_if_cgi' : true,
49 'JSON2js_if_xpcom' : true,
50 'stash_name':'cb_temp_copy_ids',
55 JSAN.use('cat.copy_buckets'); g.copy_buckets = new cat.copy_buckets();
58 'copy_ids' : copy_ids,
62 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
63 try { window.xulG.set_tab_name(document.getElementById("catStrings").getString('cat.copy_buckets.tab')); } catch(E) { alert(E); }
67 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ["cat/copy_buckets.xul", E]);
68 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
76 <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
77 <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
79 <commandset id="copy_buckets_cmds">
80 <command id="sel_clip1" />
81 <command id="save_columns1" />
82 <command id="sel_clip2" />
83 <command id="save_columns2" />
84 <command id="cmd_print_export1" />
85 <command id="cmd_export1" />
86 <command id="cmd_print_export2" />
87 <command id="cmd_copy_buckets_submit_barcode" />
88 <command id="cmd_copy_buckets_print" />
89 <command id="cmd_copy_buckets_export" />
90 <command id="cmd_copy_buckets_reprint" />
91 <command id="cmd_copy_buckets_done" />
92 <command id="cmd_export_to_copy_status" />
93 <command id="copy_buckets_new_bucket" />
94 <command id="copy_buckets_delete_bucket" />
95 <command id="copy_buckets_delete_item" />
96 <command id="copy_buckets_add" />
97 <command id="copy_buckets_sel_add" />
98 <command id="copy_buckets_export" />
99 <command id="copy_buckets_transfer_to_volume" />
100 <command id="copy_buckets_batch_copy_edit" />
101 <command id="copy_buckets_batch_copy_delete" />
104 <box id="copy_buckets_main" />