[Vtigercrm-commits] [vtiger-commits] r10406 - /vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 12 02:02:03 EDT 2007


Author: saraj
Date: Mon Mar 12 00:01:58 2007
New Revision: 10406

Log:
fix for role can be created without any name. --Minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl Mon Mar 12 00:01:58 2007
@@ -38,7 +38,7 @@
 function validate()
 {ldelim}
 	formSelectColumnString();
-	if( !emptyCheck( "roleName", "Role Name" ) )
+	if( !emptyCheck("roleName", "Role Name", "text" ) )
 		return false;
 
 	if(document.newRoleForm.selectedColumnsString.value.replace(/^\s+/g, '').replace(/\s+$/g, '').length==0)





More information about the vtigercrm-commits mailing list