clean this up later. Main problem is that I was trying to js2JSON things like chrome...
[working/Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / util / util_overlay.xul
1 <?xml version="1.0"?>
2 <!-- Modified by Jason for Evergreen -->
3
4 <overlay id="util"
5         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7 <util id="util_js">
8
9         <script>
10                 var IAMXUL = true;
11                 dump('Loading all the js in the util overlay...\n');
12         </script>
13
14         <script src="error.js" />       <!-- more like output handling -->
15         <script src="util.js" />        <!-- miscellaneous scripts.  want to make this empty -->
16         <script src="datetime.js" />    <!-- date & time related functions -->
17         <script src="functional.js" />  <!-- neat use of first-class functions, and some predecessors -->
18         <script src="fm_utils.js" />    <!-- some convenience functions for fieldmapper objects -->
19         <script src="validate.js" />    <!-- some validation functions -->
20         <script src="widgets.js" />     <!-- some convenience functions for XUL/HTML elements.  want to eliminate overlap with webutils -->
21         <script src="populate.js" />    <!-- populate widgets (like menus) with values -->
22         <!--
23         <script src="fieldmapper.js" /> 
24         -->     <!-- our Objects for things like patrons, books, etc.  This is generated. -->
25
26         <!--
27         <script src="chrome://evergreen/content/Open-ILS/util/utils.js" />
28         <script src="chrome://evergreen/content/Open-ILS/util/config.js" />
29         <script src="chrome://evergreen/content/Open-ILS/util/CGI.js" />
30         <script src="chrome://evergreen/content/Open-ILS/util/Cookie.js" />
31         <script src="chrome://evergreen/content/Open-ILS/util/md5.js" />
32         <script src="chrome://evergreen/content/Open-ILS/util/JSON.js" />
33         <script src="chrome://evergreen/content/Open-ILS/util/OrgTree.js" />
34         <script src="chrome://evergreen/content/Open-ILS/util/dtree.js" />
35         <script src="chrome://evergreen/content/Open-ILS/util/fmcore.js" />
36         <script src="chrome://evergreen/content/Open-ILS/util/RemoteRequest.js" />
37         <script src="chrome://evergreen/content/Open-ILS/util/opac_utils.js" />
38         <script src="chrome://evergreen/content/Open-ILS/util/init.js" />
39         <script src="chrome://evergreen/content/Open-ILS/util/added_content.js" />
40         -->
41         <script src="chrome://evergreen/content/Open-ILS/util/md5.js" />
42         <script src="chrome://evergreen/content/Open-ILS/util/JSON.js" />
43         <script>dump('fmall LOADING++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
44         <script src="chrome://evergreen/content/Open-ILS/util/fmall.js" />
45         <script>dump('fmgen LOADING++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
46         <script src="chrome://evergreen/content/Open-ILS/util/fmgen.js" />
47         <script>dump('remoterequest LOADING++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
48         <script src="chrome://evergreen/content/Open-ILS/util/RemoteRequest.js" />
49         <script>dump('ORGTREE LOADING++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
50         <script src="chrome://evergreen/content/Open-ILS/util/OrgTree.js" />
51         <script>dump('ORGTREE FINISHED++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
52         <script>dump('ORG_utilS LOADING++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
53         <script src="chrome://evergreen/content/Open-ILS/util/org_utils.js" />
54         <script>dump('ORG_utilS FINISHED++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
55         <script>dump('orgtree = ' + js2JSON( globalOrgTree ) + '\n');</script>
56         <script>dump('0++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n');</script>
57         <script>IAMXUL = true;</script>
58
59         <script src="ses.js" />         <!-- my wrapper over the OpenSRF communication layer.. Jabber and XMLHttpRequest -->
60         <script src="explode.js" />     <!-- original attempt at linking widgets to data.  Want to use something more OO -->
61         <script src="win.js" />         <!-- window and tab handling -->
62         <script src="spawn_win.js" />   <!-- spawning various interfaces in tabs -->
63         <script src="xpcom.js" />       <!-- misc xpcom -->
64         <script src="print.js" />       <!-- some xpcom for printing -->
65         <script src="sound.js" />       <!-- some xpcom for sound -->
66
67         <!--
68         <script src="chrome://evergreen/content/Open-ILS/util/browser.js" />
69         -->     <!-- browser detection.. am I not using Mozilla? doh :) -->
70
71         <!--
72         <script src="chrome://evergreen/content/Open-ILS/widgets/Box.js" />
73         -->             <!-- shared code between OPAC and staff client for surveys -->
74         <!--
75         <script src="chrome://evergreen/content/Open-ILS/widgets/ListBox.js" />
76         -->
77         <!--
78         <script src="chrome://evergreen/content/Open-ILS/widgets/Survey.js" />
79         -->
80
81         <script>
82                 dump('Finished all the js in the util overlay...\n');
83         </script>
84 </util>
85
86 </overlay>