[Opensrf-commits] r1530 - trunk/src/javascript

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Dec 17 22:15:16 EST 2008


Author: miker
Date: 2008-12-17 22:15:14 -0500 (Wed, 17 Dec 2008)
New Revision: 1530

Modified:
   trunk/src/javascript/opensrf.js
Log:
force default locale on all messages

Modified: trunk/src/javascript/opensrf.js
===================================================================
--- trunk/src/javascript/opensrf.js	2008-12-15 21:42:50 UTC (rev 1529)
+++ trunk/src/javascript/opensrf.js	2008-12-18 03:15:14 UTC (rev 1530)
@@ -286,6 +286,8 @@
 
 function osrfMessage(hash) {
     this.hash = hash;
+    if(!this.hash.locale)
+        this.hash.locale = OpenSRF.locale || 'en-US';
     this._encodehash = true;
 }
 osrfMessage.prototype.threadTrace = function(d) { 



More information about the opensrf-commits mailing list