mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 15:30:25 +01:00
allow all sort of expanded content in legacy options eg. ",1,${cont[nm][somevalue]}"
This commit is contained in:
parent
0ea5195f2e
commit
d06a8f1a77
@ -504,8 +504,8 @@ var et2_widget = ClassWithAttributes.extend(
|
|||||||
var mod = this.getArrayMgr("modifications").getEntry(_target.id);
|
var mod = this.getArrayMgr("modifications").getEntry(_target.id);
|
||||||
if(typeof mod.options != "undefined") attrValue = _attrsObj[i].value = mod.options;
|
if(typeof mod.options != "undefined") attrValue = _attrsObj[i].value = mod.options;
|
||||||
}
|
}
|
||||||
// Check for entire legacy options passed in content
|
// expand legacyOptions with content
|
||||||
if(attrValue.charAt(0) == '@' && attrValue.indexOf(',') == -1)
|
if(attrValue.charAt(0) == '@' || attrValue.indexOf('$') != -1)
|
||||||
{
|
{
|
||||||
attrValue = mgr.expandName(attrValue);
|
attrValue = mgr.expandName(attrValue);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user