projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
93de70e
)
Pman.I18n.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Jun 2011 01:21:14 +0000
(09:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Jun 2011 01:21:14 +0000
(09:21 +0800)
Pman.I18n.js
patch
|
blob
|
history
diff --git
a/Pman.I18n.js
b/Pman.I18n.js
index
83d7761
..
2788cce
100644
(file)
--- a/
Pman.I18n.js
+++ b/
Pman.I18n.js
@@
-129,7
+129,11
@@
Pman.I18n = {
simpleStoreData : function(type)
{
- var lang = Pman.Login.authUser.lang || 'en';
+ var lang = 'en';
+ try {
+ lang = Pman.Login.authUser.lang;
+ } catch (E) {};
+ lang = lang || 'en';
var ret = [];
Roo.each(Pman.I18n.Data[lang][type], function (o) {
ret.push([ o.code, o.title ]);