Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.js
index 349b40b..76012bd 100644 (file)
@@ -71,8 +71,8 @@ Pman.Dialog.CoreCompanies = {
                                         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();