mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-19 17:38:06 +02: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"] =
|
var readonly = attributes["readonly"] =
|
||||||
this.getArrayMgr("readonlys").isReadOnly(
|
this.getArrayMgr("readonlys").isReadOnly(
|
||||||
_node.getAttribute("id"), _node.getAttribute("readonly"),
|
_node.getAttribute("id"), _node.getAttribute("readonly"),
|
||||||
this.readonly);
|
typeof this.readonly !== 'undefined' ? this.readonly : this.options.readonly );
|
||||||
|
|
||||||
// Check to see if modifications change type
|
// Check to see if modifications change type
|
||||||
var modifications = this.getArrayMgr("modifications");
|
var modifications = this.getArrayMgr("modifications");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user