mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Make sure correct type is created when opening perspective
This commit is contained in:
parent
200cad46a8
commit
04ced6e464
@ -301,7 +301,8 @@ var et2_arrayMgr = Class.extend({
|
||||
if(typeof root == "undefined" && typeof _root == "string") root = this.getEntry(_root);
|
||||
|
||||
// Create a new content array manager with the given root
|
||||
var mgr = new et2_arrayMgr(root, this);
|
||||
var constructor = this.isReadOnly ? et2_readonlysArrayMgr : et2_arrayMgr;
|
||||
var mgr = new constructor(root, this);
|
||||
|
||||
// Set the owner
|
||||
mgr.perspectiveData.owner = _owner;
|
||||
|
Loading…
Reference in New Issue
Block a user