diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index da4ae7fe3b..ba6b4016fd 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -643,7 +643,7 @@ var et2_widget = Class.extend( var readonly = attributes["readonly"] = this.getArrayMgr("readonlys").isReadOnly( _node.getAttribute("id"), _node.getAttribute("readonly"), - this.readonly); + typeof this.readonly !== 'undefined' ? this.readonly : this.options.readonly ); // Check to see if modifications change type var modifications = this.getArrayMgr("modifications");