forked from extern/egroupware
Avoid error in some cases where there is no readonly array manager yet
This commit is contained in:
parent
bd21376303
commit
bc9a99a2af
@ -641,10 +641,10 @@ var et2_widget = ClassWithAttributes.extend(
|
||||
// determine which constructor is used
|
||||
var _nodeName = attributes["type"] = _node.getAttribute("type") ?
|
||||
_node.getAttribute("type") : _node.nodeName.toLowerCase();
|
||||
var readonly = attributes["readonly"] =
|
||||
var readonly = attributes["readonly"] = this.getArrayMgr("readonlys") ?
|
||||
this.getArrayMgr("readonlys").isReadOnly(
|
||||
_node.getAttribute("id"), _node.getAttribute("readonly"),
|
||||
typeof this.readonly !== 'undefined' ? this.readonly : this.options.readonly );
|
||||
typeof this.readonly !== 'undefined' ? this.readonly : this.options.readonly ) : false;
|
||||
|
||||
// Check to see if modifications change type
|
||||
var modifications = this.getArrayMgr("modifications");
|
||||
|
Loading…
Reference in New Issue
Block a user