use the functions in mw.
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 19:17:09 +0000 (19:17 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 19:17:09 +0000 (19:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1448 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/z39_50/z39_50.js
Evergreen/staff_client/chrome/content/evergreen/z39_50/z39_50.xul
Evergreen/staff_client/chrome/content/evergreen/z39_50/z39_50_overlay.xul

index 88e556a..a1afe41 100644 (file)
@@ -1,7 +1,7 @@
 dump('Loading z39_50.js\n');
 
 function z39_50_init() {
-       dump('**** TESTING: z39_50.js: z39_50_init(): ' + mw.G.main_test_variable + '\n');
-       focus_widget( 't1' );
+       mw.sdump('D_Z39_50','**** TESTING: z39_50.js: z39_50_init(): ' + mw.G.main_test_variable + '\n');
+       mw.focus_widget( 't1' );
 }
 
index 9e3e5ed..6ef2c23 100644 (file)
        <script>dump('z39_50_win\n');</script>
 
        <!-- Initial Overlays for this XUL file -->
-       <?xul-overlay href="chrome://evergreen/content/OpenSRF/OpenSRF_overlay.xul"?>
-       <?xul-overlay href="chrome://evergreen/content/util/util_overlay.xul"?>
        <?xul-overlay href="chrome://evergreen/content/z39_50/z39_50_bundle.xul"?>
 
-       <!-- OpenSRF -->
-       <script>var myPackageDir = "evergreen";</script>
-       <OpenSRF id="OpenSRF_js" />
-       <!-- other javascript -->
-       <Util/>
-
        <!-- Layout to be filled in by overlays and javascript -->
        <vbox id="z39_50_vbox" class="test_class"/>
 
index fc68bd3..5b10d64 100644 (file)
@@ -13,7 +13,7 @@
                        <label id="l1" value="Ascession ID (or TCN): "/>
                        <textbox id="t1" />
                        <button id="b1" label="Retrieve" oncommand="
-                               spawn_oclc_import(parent.document,'replace_tab','main_tabbox', { 'tcn' : document.getElementById('t1').value });
+                               mw.spawn_oclc_import(parent.document,'replace_tab','main_tabbox', { 'tcn' : document.getElementById('t1').value });
                        "/>
                </hbox>
        </vbox>