[open-ils-commits] r10202 - trunk/Open-ILS/web/opac/skin/default/xml

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jul 31 00:08:46 EDT 2008


Author: miker
Date: 2008-07-31 00:08:39 -0400 (Thu, 31 Jul 2008)
New Revision: 10202

Modified:
   trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
Log:
replace does not, um, replace in place

Modified: trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/footer.xml	2008-07-31 03:56:24 UTC (rev 10201)
+++ trunk/Open-ILS/web/opac/skin/default/xml/footer.xml	2008-07-31 04:08:39 UTC (rev 10202)
@@ -32,10 +32,15 @@
             <a href='http://open-ils.org'><img style='border:none;' src='../../../../images/eg_tiny_logo.jpg'/></a>
         </div>
 
-        <div id='translation_switch' dojoType="dijit.form.FilteringSelect" store="openils.I18N.localeStore" searchAttr="locale" displayAttr="label">
-            <script type="dojo/connect" event="onChange">
+        <div
+			id='translation_switch'
+			dojoType="dijit.form.FilteringSelect"
+			store="openils.I18N.localeStore"
+			searchAttr="label"
+		>
+            <script type="dojo/label" event="onChange">
                 if (this.getValue()) {
-                    location.href.replace( /opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
+                    location.href = location.href.replace( /opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
                 }
             </script>
         </div>



More information about the open-ils-commits mailing list