[Vtigercrm-commits] [vtiger-commits] r7739 - /vtigercrm/trunk/modules/HelpDesk/DetailViewAjax.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jul 3 14:16:27 EDT 2006
Author: saraj
Date: Mon Jul 3 12:16:24 2006
New Revision: 7739
Log:
* Modified to avoid the comment save, when we edit other fields through ajax edit
Modified:
vtigercrm/trunk/modules/HelpDesk/DetailViewAjax.php
Modified: vtigercrm/trunk/modules/HelpDesk/DetailViewAjax.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/DetailViewAjax.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/DetailViewAjax.php Mon Jul 3 12:16:24 2006
@@ -28,6 +28,11 @@
{
$modObj = new HelpDesk();
$modObj->retrieve_entity_info($crmid,"HelpDesk");
+
+ //Added to avoid the comment save, when we edit other fields through ajax edit
+ if($fieldname != 'comments')
+ $modObj->column_fields['comments'] = '';
+
$modObj->column_fields[$fieldname] = $fieldvalue;
$modObj->id = $crmid;
$modObj->mode = "edit";
More information about the vtigercrm-commits
mailing list