[Vtigercrm-commits] [vtiger-commits] r5036 - /vtigercrm/trunk/modules/Webmails/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Apr 8 07:00:07 EDT 2006


Author: mmbrich
Date: Sat Apr  8 05:00:06 2006
New Revision: 5036

Log:
typo caused ajax errors when vtiger was not at top
of DocumentRoot


Modified:
    vtigercrm/trunk/modules/Webmails/ListView.php

Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Sat Apr  8 05:00:06 2006
@@ -49,11 +49,11 @@
 var id;
 function runEmailCommand(com,id) {
 	$("status").style.display="block";
-	$("status").innerHTML = "Please Wait";
 	command=com;
 	id=id;
+	alert(id);
 	new Ajax.Request(
-                '/index.php',
+                'index.php',
                 {queue: {position:'front', scope: 'command', limit:1},
                         method: 'post',
                         postBody: 'module=Webmails&action=body&command='+command+'&mailid='+id+'&mailbox=<?php echo $_REQUEST["mailbox"];?>',
@@ -128,7 +128,6 @@
 
 				}
 				$("status").style.display="none";
-				$("status").innerHTML = "Processing Request";
                         }
                 }
         );





More information about the vtigercrm-commits mailing list