projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479b2e9
)
Roo/XComponent.js
author
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 06:19:08 +0000
(14:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 06:19:08 +0000
(14:19 +0800)
Roo/XComponent.js
patch
|
blob
|
history
diff --git
a/Roo/XComponent.js
b/Roo/XComponent.js
index
96f08de
..
f35243d
100644
(file)
--- a/
Roo/XComponent.js
+++ b/
Roo/XComponent.js
@@
-691,11
+691,15
@@
Roo.apply(Roo.XComponent, {
if (typeof(component['_named_strings']) == undefined) {
throw "ERROR: component does not have _named_strings";
}
+ Roo.each(strings, function(k,v) {
+ var md = typeof(component['_named_strings'][k]) == 'undefined' ? false : component['_named_strings'][k];
+ if (md !== false) {
+ component['strings'][md] = v;
+ }
+
+ });
-
-
-
- }
+ },
/**