[Vtigercrm-commits] [vtiger-commits] r5692 - /vtigercrm/trunk/modules/Users/EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 3 04:00:21 EDT 2006
Author: saraj
Date: Wed May 3 02:00:17 2006
New Revision: 5692
Log:
Added validation for UserEditView - Ahmed
Modified:
vtigercrm/trunk/modules/Users/EditView.php
Modified: vtigercrm/trunk/modules/Users/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Users/EditView.php (original)
+++ vtigercrm/trunk/modules/Users/EditView.php Wed May 3 02:00:17 2006
@@ -99,8 +99,11 @@
$smarty->assign("RETURN_ID", $_REQUEST['return_id']);
$RETURN_ID = $_REQUEST['return_id'];
}
-
-$smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js());
+if($mode == 'edit')
+ $smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js1());
+else
+ $smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js());
+
$smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("ID", $focus->id);
$smarty->assign("USER_NAME", $focus->user_name);
More information about the vtigercrm-commits
mailing list