var meth = _this.data.comptype == 'OWNER' ? 'disable' : 'enable';
- if (_this.form.findField('comptype_id')) {
- _this.form.findField('comptype_id')[meth]();
+ if (_this.form.findField('comptype')) {
+ _this.form.findField('comptype')[meth]();
}
// _this.loaded();