mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix bug in calculating readonly based on parent. Fixes readonly templates still having editable content.
This commit is contained in:
parent
afbc73392c
commit
9a7033ece9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user