forked from extern/egroupware
Et2Widget: If an attribute / property is already an object, don't try to transform it before setting
This commit is contained in:
parent
523c785049
commit
fb423b4efc
@ -1385,6 +1385,9 @@ function transformAttributes(widget, mgr : et2_arrayMgr, attributes)
|
|||||||
attrValue = et2_compileLegacyJS(attrValue, widget, widget);
|
attrValue = et2_compileLegacyJS(attrValue, widget, widget);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case Object:
|
||||||
|
// Leave it alone...
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
attrValue = mgr ? mgr.expandName("" + attrValue) : attrValue;
|
attrValue = mgr ? mgr.expandName("" + attrValue) : attrValue;
|
||||||
if(attrValue && typeof attrValue == "string" && !attributes.no_lang && widget_class.translate[attribute])
|
if(attrValue && typeof attrValue == "string" && !attributes.no_lang && widget_class.translate[attribute])
|
||||||
|
Loading…
Reference in New Issue
Block a user