mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
readonlys was not namespaced in old eTemplate, therefore if we dont find data under current namespace, we look into parent (if there is anything namespaced, we will NOT look for parent!)
This commit is contained in:
parent
b0d2c7fb00
commit
c0cfe3f320
@ -406,8 +406,15 @@ var et2_readonlysArrayMgr = et2_arrayMgr.extend(
|
|||||||
{
|
{
|
||||||
_id = this.expandName(_id);
|
_id = this.expandName(_id);
|
||||||
}
|
}
|
||||||
entry = this.getEntry(_id);
|
// readonlys was not namespaced in old eTemplate, therefore if we dont find data
|
||||||
|
// under current namespace, we look into parent
|
||||||
|
// (if there is anything namespaced, we will NOT look for parent!)
|
||||||
|
var mgr = this;
|
||||||
|
while (mgr.parentMgr && jQuery.isEmptyObject(mgr.data))
|
||||||
|
{
|
||||||
|
mgr = mgr.parentMgr;
|
||||||
|
}
|
||||||
|
entry = mgr.getEntry(_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let the array entry override the read only attribute entry
|
// Let the array entry override the read only attribute entry
|
||||||
|
Loading…
Reference in New Issue
Block a user