mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 03:51:21 +02: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:
@ -406,8 +406,15 @@ var et2_readonlysArrayMgr = et2_arrayMgr.extend(
|
||||
{
|
||||
_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
|
||||
|
Reference in New Issue
Block a user