mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 13:00:14 +01:00
Use getEntry() as fallback for text roots
This commit is contained in:
parent
b704db187f
commit
428d201179
@ -281,6 +281,7 @@ var et2_arrayMgr = Class.extend({
|
|||||||
// Get the root node
|
// Get the root node
|
||||||
var root = typeof _root == "string" ? this.data[_root] :
|
var root = typeof _root == "string" ? this.data[_root] :
|
||||||
(_root == null ? this.data : _root);
|
(_root == null ? this.data : _root);
|
||||||
|
if(typeof root == "undefined" && typeof _root == "string") root = this.getEntry(_root);
|
||||||
|
|
||||||
// Create a new content array manager with the given root
|
// Create a new content array manager with the given root
|
||||||
var mgr = new et2_arrayMgr(root, this);
|
var mgr = new et2_arrayMgr(root, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user