]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/cat/copy_buckets.xul
LP1615805 No inputs after submit in patron search (AngularJS)
[Evergreen.git] / Open-ILS / xul / staff_client / server / cat / copy_buckets.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
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"?>
10
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!-- LOCALIZATION -->
13 <!DOCTYPE window PUBLIC "" ""[
14     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
15 ]>
16
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <!-- OVERLAYS -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20 <?xul-overlay href="/xul/server/cat/copy_buckets_overlay.xul"?>
21
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">
25
26     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27     <!-- BEHAVIOR -->
28         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
29         <scripts id="openils_util_scripts"/>
30
31     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
32     <script>
33     <![CDATA[
34         function my_init() {
35             try {
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'});
42
43                 var copy_ids = xul_param(
44                     'copy_ids',{
45                         'concat' : true,
46                         'JSON2js_if_cgi' : true,
47                         'JSON2js_if_xpcom' : true,
48                         'stash_name':'cb_temp_copy_ids',
49                         'clear_xpcom' : true,
50                     }
51                 );
52
53                 JSAN.use('cat.copy_buckets'); g.copy_buckets = new cat.copy_buckets();
54                 g.copy_buckets.init( 
55                     { 
56                         'copy_ids' : copy_ids,
57                     } 
58                 );
59     
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); }
62                 }
63
64             } catch(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); }
67                 alert(err_msg);
68             }
69         }
70
71         function default_focus() { try { setTimeout( function() { document.getElementById('copy_bucket_barcode_entry_textbox').focus(); }, 0); } catch(E) {} }
72     ]]>
73     </script>
74
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"/>
77
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" />
91     </commandset>
92
93     <box id="copy_buckets_main" />
94
95 </window>
96