mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Etemplate - allow trees to be readonly
This commit is contained in:
parent
90474d6163
commit
d2bac9d654
@ -257,6 +257,10 @@ var et2_tree = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
close = this._rel_url(close);
|
||||
widget.input.setImageArrays('minus', close, close, close, close, close);
|
||||
}
|
||||
|
||||
this._install_handler('onBeforeCheck', function(id, state) {
|
||||
return !this.options.readonly;
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user