[Vtigercrm-commits] [vtiger-commits] r6953 - /vtigercrm/trunk/modules/Faq/Faq.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 7 10:08:06 EDT 2006


Author: saraj
Date: Wed Jun  7 08:08:02 2006
New Revision: 6953

Log:
unwanted js functions have been removed

Modified:
    vtigercrm/trunk/modules/Faq/Faq.js

Modified: vtigercrm/trunk/modules/Faq/Faq.js
==============================================================================
--- vtigercrm/trunk/modules/Faq/Faq.js (original)
+++ vtigercrm/trunk/modules/Faq/Faq.js Wed Jun  7 08:08:02 2006
@@ -7,60 +7,6 @@
  * All Rights Reserved.
  *
  ********************************************************************************/
-
-
-function massDelete()
-{
-	x = document.massdelete.selected_id.length;
-	idstring = "";
-
-	if ( x == undefined)
-	{
-	
-		if (document.massdelete.selected_id.checked)
-		{
-			document.massdelete.idlist.value=document.massdelete.selected_id.value;
-		}
-		else 
-		{
-			alert("Please select atleast one entity");
-			return false;
-		}
-	}
-	else
-	{
-		xx = 0;
-		for(i = 0; i < x ; i++)
-		{
-			if(document.massdelete.selected_id[i].checked)
-			{
-				idstring = document.massdelete.selected_id[i].value +";"+idstring
-			xx++	
-			}
-		}
-		if (xx != 0)
-		{
-			document.massdelete.idlist.value=idstring;
-		}
-		else
-		{
-			alert("Please select atleast one entity");
-			return false;
-		}
-	}
-	if(confirm("Are you sure you want to delete the selected "+xx+" records ?"))
-    {
-		show("status");
-		var ajaxObj = new VtigerAjax(ajaxSaveResponse);
-		var urlstring ="module=Users&action=massdelete&return_module=Faq&idlist="+idstring;
-	    ajaxObj.process("index.php?",urlstring);
-	}
-	else
-	{
-		return false;
-	}
-}
-
 
 function clear_form(form) 
 {





More information about the vtigercrm-commits mailing list