[Vtigercrm-commits] [vtiger-commits] r10059 - /vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jan 13 08:28:53 EST 2007


Author: richie
Date: Sat Jan 13 06:28:50 2007
New Revision: 10059

Log:
unable to delete TagCloud in calendar

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityDetailView.tpl Sat Jan 13 06:28:50 2007
@@ -31,22 +31,23 @@
 		return false;
 	{rdelim}
 {rdelim}
-function DeleteTag(id)
+function DeleteTag(id,recordid)
 {ldelim}
-	$("vtbusy_info").style.display="inline";
-	Effect.Fade('tag_'+id);
-	new Ajax.Request(
-		'index.php',
+        $("vtbusy_info").style.display="inline";
+        Effect.Fade('tag_'+id);
+        new Ajax.Request(
+                'index.php',
                 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
                         method: 'post',
-                        postBody: "file=TagCloud&module={$MODULE}&action={$MODULE}Ajax&ajxaction=DELETETAG&tagid=" +id,
+                        postBody: "file=TagCloud&module={$MODULE}&action={$MODULE}Ajax&ajxaction=DELETETAG&recordid="+recordid+"&tagid=" +id,
                         onComplete: function(response) {ldelim}
-						getTagCloud();
-						$("vtbusy_info").style.display="none";
+                                                getTagCloud();
+                                                $("vtbusy_info").style.display="none";
                         {rdelim}
                 {rdelim}
         );
 {rdelim}
+
 </script>
 <table width="100%" cellpadding="2" cellspacing="0" border="0">
 <form action="index.php" method="post" name="DetailView" id="form">





More information about the vtigercrm-commits mailing list