From 037458f84e77c8438f1864c23c527d384de17d34 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 17 Sep 2010 18:57:05 +0800 Subject: [PATCH] Pman.Dialog.CorePersonContact.js --- Pman.Dialog.CorePersonContact.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Dialog.CorePersonContact.js b/Pman.Dialog.CorePersonContact.js index 280cc4fa..5fc9f2db 100644 --- a/Pman.Dialog.CorePersonContact.js +++ b/Pman.Dialog.CorePersonContact.js @@ -164,11 +164,11 @@ Pman.Dialog.CorePersonContact = { }, beforequery : function (combo, query, forceAll, cancel, e) { - var coid = _this.form.findField('company_id').getValue(); + var coid = _this.form.findField('company_id').getValue(); if (coid < 1 ) { - Ext.MessageBox.alert("Error", "Select An Company First"); - return false; - } + Ext.MessageBox.alert("Error", "Select An Company First"); + return false; + } } }, allowBlank : 'false', -- 2.39.2