Getting messagecatalog to work with html via a div
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 21 Sep 2008 01:38:55 +0000 (01:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 21 Sep 2008 01:38:55 +0000 (01:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10659 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/ue.xhtml
Open-ILS/xul/staff_client/server/patron/user_edit.xhtml

index 727d4ad..01ede09 100644 (file)
@@ -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();'>
 
index a7ed389..14de9b8 100644 (file)
@@ -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" >