[open-ils-commits] r10659 - trunk/Open-ILS/xul/staff_client/server/patron

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Sep 20 21:38:56 EDT 2008


Author: phasefx
Date: 2008-09-20 21:38:55 -0400 (Sat, 20 Sep 2008)
New Revision: 10659

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/ue.xhtml
   trunk/Open-ILS/xul/staff_client/server/patron/user_edit.xhtml
Log:
Getting messagecatalog to work with html via a div

Modified: trunk/Open-ILS/xul/staff_client/server/patron/ue.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/ue.xhtml	2008-09-21 01:23:47 UTC (rev 10658)
+++ trunk/Open-ILS/xul/staff_client/server/patron/ue.xhtml	2008-09-21 01:38:55 UTC (rev 10659)
@@ -44,6 +44,7 @@
 
 
 		<style type='text/css'>
+			.messagecatalog { -moz-binding: url( /xul/server/main/bindings.xml#messagecatalog ) }
 			.main_table { width: 98%; border-collapse: collapse;}
 			.main_table td { border: 1px solid #E0F0E0; text-align: center; padding: 4px;}
 			#uedit_nav_bar { border: 2px solid #E0F0E0; padding: 6px;}
@@ -85,7 +86,7 @@
 		</style>
 	</head>
 	
-	<messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+	<div class="messagecatalog" id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
 
 	<body onload='uEditInit();'>
 

Modified: trunk/Open-ILS/xul/staff_client/server/patron/user_edit.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/user_edit.xhtml	2008-09-21 01:23:47 UTC (rev 10658)
+++ trunk/Open-ILS/xul/staff_client/server/patron/user_edit.xhtml	2008-09-21 01:38:55 UTC (rev 10659)
@@ -30,6 +30,8 @@
 
 		<style>
 
+			.messagecatalog { -moz-binding: url( /xul/server/main/bindings.xml#messagecatalog ) }
+
 			.stay_hidden {		visibility: hidden;
 						display: none;
 
@@ -67,6 +69,8 @@
 		</style>
         </head>
 
+	<div class="messagecatalog" id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
 	<body onload="try { init_editor() } catch(E) { alert(js2JSON(E)); }">
 		<form method="GET" name="editor" id="editor" >
 



More information about the open-ils-commits mailing list