let chrome have font_helper(), etc.
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Aug 2006 19:37:03 +0000 (19:37 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Aug 2006 19:37:03 +0000 (19:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5761 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/Makefile
Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay.xul

index 488940a..7570693 100644 (file)
@@ -48,6 +48,7 @@ build_dir:
        cp build/chrome/content/main/lang.js build/server/main/lang.js
        cp build/chrome/content/main/simple_auth.xul build/server/main/simple_auth.xul
        cp build/chrome/content/OpenILS/data.js build/server/OpenILS/data.js
+       cp build/server/OpenILS/global_util.js build/chrome/content/OpenILS/global_util.js
        external/prune_dirs.sh build/
 
 stamp: 
index 4f0d823..93891eb 100644 (file)
                <script type="text/javascript" src="util/RemoteRequest.js" />
                <script type="text/javascript" src="util/OrgTree.js" />
                <script type="text/javascript" src="util/org_utils.js" />   
-               <script type="text/javascript">
-               <![CDATA[
-
-                       function ses(a) {
-                               JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.init({'via':'stash'});
-                               switch(a) {
-                                       case 'authtime' :
-                                               return data.session.authtime;
-                                       break;
-                                       case 'key':
-                                       default:
-                                               return data.session.key;
-                                       break;
-                               }
-                       }
-
-               ]]>
-               </script>
+               <script type="text/javascript" src="global_util.js" />
        </scripts>
        <script>dump('Loaded OpenILS/util_overlay.xul\n');</script>