forked from extern/egroupware
Fix readonly was not hiding buttons
in Lion, they already have functionality on readOnly
This commit is contained in:
parent
347ea25131
commit
6fe2ec6c65
@ -918,7 +918,7 @@ export function loadWebComponent(_nodeName : string, _template_node, parent : Et
|
||||
var mgr = widget.getArrayMgr("content");
|
||||
|
||||
// Set read-only. Doesn't really matter if it's a ro widget, but otherwise it needs set
|
||||
widget.readonly = parent.getArrayMgr("readonlys") ?
|
||||
widget.readOnly = parent.getArrayMgr("readonlys") ?
|
||||
(<any>parent.getArrayMgr("readonlys")).isReadOnly(
|
||||
_template_node.getAttribute("id"), _template_node.getAttribute("readonly"),
|
||||
typeof parent.readonly !== "undefined" ? parent.readonly : false) : false;
|
||||
|
Loading…
Reference in New Issue
Block a user