return;
}
- if (!this.form.findField('company_id').getValue()) {
+ if (this.form.findField('company_id') && !this.form.findField('company_id').getValue()) {
Ext.MessageBox.alert("Error", "Select a Company");
return;
}
saveBulk: function() {
// similar action to SendIntro
// we build a fake list of data..
- if (this.form.findField('company_id') &&
- !this.form.findField('company_id').getValue()) {
+ if (!this.form.findField('company_id').getValue()) {
Roo.MessageBox.alert("Error", "Select the Company Name");
return;
}
var c = ar[i];
i++;
- Pman.request({
+ new Pman.Request({
url : baseURL+'/Core/SendIntro.html',
method : 'POST',
params: c,