Pman.Dialog.PersonEditor.js
authorChris <chris@roojs.com>
Fri, 29 Jun 2012 07:41:50 +0000 (15:41 +0800)
committerChris <chris@roojs.com>
Fri, 29 Jun 2012 07:41:50 +0000 (15:41 +0800)
Pman.Dialog.PersonEditor.js

index ecae082..7461c0d 100644 (file)
@@ -641,7 +641,8 @@ Pman.Dialog.PersonEditor.prototype = {
     saveBulk: function() {
         // similar action to SendIntro
         // we build a fake list of data..
-        if (!this.form.findField('company_id').getValue()) {
+        if (this.form.findField('company_id') && 
+                !this.form.findField('company_id').getValue()) {
             Roo.MessageBox.alert("Error", "Select the Company Name");
             return;
         }