projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
958a023
)
Pman.Dialog.CorePersonContact.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:57:05 +0000
(18:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:57:05 +0000
(18:57 +0800)
Pman.Dialog.CorePersonContact.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.CorePersonContact.js
b/Pman.Dialog.CorePersonContact.js
index
280cc4f
..
5fc9f2d
100644
(file)
--- a/
Pman.Dialog.CorePersonContact.js
+++ b/
Pman.Dialog.CorePersonContact.js
@@
-164,11
+164,11
@@
Pman.Dialog.CorePersonContact = {
},
beforequery : function (combo, query, forceAll, cancel, e)
{
},
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 ) {
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',
}
},
allowBlank : 'false',