projects
/
OpenSRF.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better locale configuriation support
[OpenSRF.git]
/
src
/
javascript
/
DojoSRF.js
diff --git
a/src/javascript/DojoSRF.js
b/src/javascript/DojoSRF.js
index
6c2195c
..
4798454
100644
(file)
--- a/
src/javascript/DojoSRF.js
+++ b/
src/javascript/DojoSRF.js
@@
-14,4
+14,6
@@
if(!dojo._hasResource['DojoSRF']){
this.session_cache[app] = new OpenSRF.ClientSession ( app );
return this.session_cache[app];
}
+
+ OpenSRF.locale = dojo.config.locale || (dojo.isIE ? navigator.userLanguage : navigator.language).toLowerCase();
}