[Vtigercrm-commits] [vtiger-commits] r6214 - /vtigercrm/trunk/Smarty/templates/Header.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat May 20 03:50:09 EDT 2006


Author: saraj
Date: Sat May 20 01:50:05 2006
New Revision: 6214

Log:
Updated Header tpl file

Modified:
    vtigercrm/trunk/Smarty/templates/Header.tpl

Modified: vtigercrm/trunk/Smarty/templates/Header.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Header.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Header.tpl Sat May 20 01:50:05 2006
@@ -179,7 +179,10 @@
         show("status");
         var ajaxObj = new Ajax(ajaxQCreateResponse);
         var module = qcoptions.options[qcoptions.options.selectedIndex].value;
-        var urlstring = "module="+module+"&action="+module+"Ajax&ajaxmode=qcreate";
+	if(module == 'Events')
+                var urlstring = "module=Activities&action=ActivitiesAjax&ajaxmode=qcreate&activity_mode=Events";
+        else
+	        var urlstring = "module="+module+"&action="+module+"Ajax&ajaxmode=qcreate";
         ajaxObj.process("index.php?",urlstring);
 {rdelim}
 function ajaxQCreateResponse(response)





More information about the vtigercrm-commits mailing list