[open-ils-commits] r17619 - branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Sep 12 15:31:56 EDT 2010
Author: phasefx
Date: 2010-09-12 15:31:52 -0400 (Sun, 12 Sep 2010)
New Revision: 17619
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
Log:
merge r17617 from trunk for _custom.properties file overlays with messagecatalog
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml 2010-09-12 19:31:11 UTC (rev 17618)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml 2010-09-12 19:31:52 UTC (rev 17619)
@@ -188,6 +188,17 @@
var msg = "messageCatalog: No text from " + this.src;
alert(msg); throw(msg);
}
+
+ var custom_src = String(this.src).replace('.','_custom.');
+ var x2 = new XMLHttpRequest();
+ x2.open("GET",custom_src,false);
+ x2.send(null);
+ if (x2.responseText) {
+ var props = this._props2object(x2.responseText);
+ for (var i in props) {
+ this._props[i] = props[i];
+ }
+ }
} catch(E) {
alert('Error loading properties in messagecatalog in bindings.xml: ' + E);
throw(E);
More information about the open-ils-commits
mailing list