[Vtigercrm-commits] [vtiger-commits] r6609 - /vtigercrm/trunk/index.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 06:48:11 EDT 2006


Author: mmbrich
Date: Sun May 28 04:48:10 2006
New Revision: 6609

Log:
other changes to allow real AJAX/JSON objects

Modified:
    vtigercrm/trunk/index.php

Modified: vtigercrm/trunk/index.php
==============================================================================
--- vtigercrm/trunk/index.php (original)
+++ vtigercrm/trunk/index.php Sun May 28 04:48:10 2006
@@ -491,7 +491,7 @@
 	include($currentModuleFile);
 }
 
-	if((!$viewAttachment) && (!$viewAttachment && $action != 'home_rss' && $action != $module."Ajax" && $action != "chat" && $action != 'massdelete') )
+	if((!$viewAttachment) && (!$viewAttachment && $action != 'home_rss' && $action != $module."Ajax" && $action != "chat" && $action != 'massdelete' && $action != "body") )
 	{
 		echo "<!-- stopscrmprint -->";
 	}
@@ -572,7 +572,7 @@
 	//	}
 	//	echo "</td></tr></table>\n";
 	}
-	if(($action != 'mytkt_rss') && ($action != 'home_rss'))
+	if(($action != 'mytkt_rss') && ($action != 'home_rss') && ($action != $module."Ajax") && ($action != "body"))
 	{
 	?>
 		<script>
@@ -580,7 +580,7 @@
 		</script>
 <?php
 	}
-	if(!$skipFooters)
-	include('themes/'.$theme.'/footer.php');
+	if((!$skipFooters) && ($action != "body") && ($action != $module."Ajax") )
+		include('themes/'.$theme.'/footer.php');
 }
 ?>





More information about the vtigercrm-commits mailing list