[Vtigercrm-commits] [vtiger-commits] r6266 - /vtigercrm/trunk/modules/HelpDesk/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 06:13:19 EDT 2006
Author: saraj
Date: Sun May 21 04:13:15 2006
New Revision: 6266
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/HelpDesk/DetailView.php
Modified: vtigercrm/trunk/modules/HelpDesk/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/DetailView.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/DetailView.php Sun May 21 04:13:15 2006
@@ -91,6 +91,14 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+$ticket_tables = Array('troubletickets','crmentity');
+$tabid = getTabid("HelpDesk");
+$validationData = getDBValidationData($ticket_tables,$tabid);
+$data = split_validationdataArray($validationData);
+$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
+$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
+$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+
$smarty->assign("MODULE",$currentModule);
$smarty->display("DetailView.tpl");
$focus->id = $_REQUEST['record'];
More information about the vtigercrm-commits
mailing list