we can't reliably use messagecat with scripts that run before the onload event
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 10 Mar 2008 01:03:32 +0000 (01:03 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 10 Mar 2008 01:03:32 +0000 (01:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8943 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/main/data.xul

index c2d6c71..b41ebf7 100644 (file)
@@ -43,7 +43,6 @@
        <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
        <script>
        <![CDATA[
-               dump("lang.version = " + document.getElementById('commonStrings').getString('lang.version') + "\n");
 
                function data_init() {
 
        ]]>
        </script>
 
+    <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" />
+
        <groupbox id="data_groupbox" flex="1" class="my_overflow"> 
                <caption id="caption" label="&staff.main.data.loading;"/> 
                <description id="data_progress"/>