[Vtigercrm-commits] [vtiger-commits] r6385 - /vtigercrm/trunk/modules/Users/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 16:15:12 EDT 2006
Author: don
Date: Wed May 24 14:15:08 2006
New Revision: 6385
Log:
fixed user delete issue
Modified:
vtigercrm/trunk/modules/Users/DetailView.php
Modified: vtigercrm/trunk/modules/Users/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Users/DetailView.php (original)
+++ vtigercrm/trunk/modules/Users/DetailView.php Wed May 24 14:15:08 2006
@@ -176,7 +176,7 @@
}
if($_REQUEST['record'] != $current_user->id)
{
- $buttons = "<input title='".$app_strings['LBL_DELETE_BUTTON_TITLE']."' accessKey='".$app_strings['LBL_DELETE_BUTTON_KEY']."' class='classBtn' onclick=\"this.form.return_module.value='Users'; this.form.return_action.value='DetailView'; this.form.return_id.value='$focus->id'; this.form.action.value='UserDeleteStep1'\" type='submit' name='Delete' value=' ".$app_strings['LBL_DELETE_BUTTON_LABEL']." '>";
+ $buttons = "<input title='".$app_strings['LBL_DELETE_BUTTON_TITLE']."' accessKey='".$app_strings['LBL_DELETE_BUTTON_KEY']."' class='classBtn' onclick=\"deleteUser('$focus->id')\" type='button' name='Delete' value=' ".$app_strings['LBL_DELETE_BUTTON_LABEL']." '>";
$smarty->assign('DELETE_BUTTON',$buttons);
}
More information about the vtigercrm-commits
mailing list