From 77ad4567c657ccbab3bfe7cab49cbd46d7523765 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 18 Dec 2008 03:15:14 +0000 Subject: [PATCH] force default locale on all messages git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1530 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/opensrf.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/javascript/opensrf.js b/src/javascript/opensrf.js index 43632c1..dbd2633 100644 --- a/src/javascript/opensrf.js +++ b/src/javascript/opensrf.js @@ -286,6 +286,8 @@ OpenSRF.Stack.handle_message = function(ses, osrf_msg, callbacks) { 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) { -- 2.11.0