Etemplate - allow trees to be readonly

This commit is contained in:
nathangray 2019-04-10 10:53:36 -06:00
parent 90474d6163
commit d2bac9d654

View File

@ -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));
},
/**