use pandora.UI.encode, fix span parsing for texts
This commit is contained in:
parent
41a1a1f94f
commit
dcf0893ea1
4 changed files with 7 additions and 7 deletions
|
|
@ -174,7 +174,7 @@ pandora.UI = (function() {
|
|||
if (args.text) {
|
||||
add['texts.' + that.encode(args.text)] = Ox.map(textSettings, function(value, key) {
|
||||
var textsKey = 'texts.' + that.encode(args.text) + '.' + key;
|
||||
return textsKey in args ? args[editextsKeytsKey]
|
||||
return textsKey in args ? args[textsKey]
|
||||
: pandora.user.ui.texts[args.text] ? pandora.user.ui.texts[args.text][key]
|
||||
: value;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue