[open-ils-commits] r17656 - 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
Tue Sep 14 11:50:47 EDT 2010
Author: phasefx
Date: 2010-09-14 11:50:44 -0400 (Tue, 14 Sep 2010)
New Revision: 17656
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
Log:
regexp for robust filename mangling
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-14 15:49:26 UTC (rev 17655)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml 2010-09-14 15:50:44 UTC (rev 17656)
@@ -190,7 +190,7 @@
}
try { // fail silently if no custom properties file exists
- var custom_src = String(this.src).replace('.','_custom.');
+ var custom_src = String(this.src).replace(/\.properties$/,'_custom.properties');
var x2 = new XMLHttpRequest();
x2.open("GET",custom_src,false);
x2.send(null);
More information about the open-ils-commits
mailing list