[open-ils-commits] r8943 - trunk/Open-ILS/xul/staff_client/server/main

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Mar 9 21:36:31 EDT 2008


Author: phasefx
Date: 2008-03-09 21:03:32 -0400 (Sun, 09 Mar 2008)
New Revision: 8943

Modified:
   trunk/Open-ILS/xul/staff_client/server/main/data.xul
Log:
we can't reliably use messagecat with scripts that run before the onload event

Modified: trunk/Open-ILS/xul/staff_client/server/main/data.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/main/data.xul	2008-03-10 00:45:35 UTC (rev 8942)
+++ trunk/Open-ILS/xul/staff_client/server/main/data.xul	2008-03-10 01:03:32 UTC (rev 8943)
@@ -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() {
 
@@ -213,6 +212,8 @@
 	]]>
 	</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"/>



More information about the open-ils-commits mailing list