[Vtigercrm-commits] [vtiger-commits] r7359 - /vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 07:02:52 EDT 2006
Author: richie
Date: Wed Jun 21 05:02:40 2006
New Revision: 7359
Log:
fixed the group name validation issue
Modified:
vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/GroupEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/GroupEditView.tpl Wed Jun 21 05:02:40 2006
@@ -133,6 +133,12 @@
formSelectColumnString();
if( !emptyCheck( "groupName", "Group Name" ) )
return false;
+
+ if(trim(document.newGroupForm.groupName.value) == "")
+ {ldelim}
+ alert('Group Name cannot be none');
+ return false;
+ {rdelim}
//alert(document.newGroupForm.selectedColumnsString.value);
if(document.newGroupForm.selectedColumnsString.value.replace(/^\s+/g, '').replace(/\s+$/g, '').length==0)
More information about the vtigercrm-commits
mailing list