[Vtigercrm-commits] [vtiger-commits] r9398 - in /vtigercrm/trunk: Smarty/templates/Webmails.tpl modules/Webmails/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun Sep 10 15:36:45 EDT 2006
Author: mmbrich
Date: Sun Sep 10 13:36:44 2006
New Revision: 9398
Log:
fixed typo in URL and added a hack to DetailView to work around 2139 Fixes #2139
Modified:
vtigercrm/trunk/Smarty/templates/Webmails.tpl
vtigercrm/trunk/modules/Webmails/DetailView.php
Modified: vtigercrm/trunk/Smarty/templates/Webmails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Webmails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Webmails.tpl Sun Sep 10 13:36:44 2006
@@ -208,7 +208,7 @@
url = 'index.php?module=Webmails&action=dlAttachments&mailid='+id+'&mailbox={$MAILBOX}';
break;
case 'full_view':
- url = 'index.php?module=Webmails&action=DetailView&&record='+id+'&mailid='+id+'&mailbox={$MAILBOX}';
+ url = 'index.php?module=Webmails&action=DetailView&record='+id+'&mailid='+id+'&mailbox={$MAILBOX}';
break;
{rdelim}
openPopUp('xComposeEmail',this,url,'createemailWin',830,662,'menubar=no,toolbar=no,location=no,status=no,resizable=yes,scrollbars=yes');
Modified: vtigercrm/trunk/modules/Webmails/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/DetailView.php (original)
+++ vtigercrm/trunk/modules/Webmails/DetailView.php Sun Sep 10 13:36:44 2006
@@ -22,7 +22,7 @@
$MailBox = new MailBox($mailbox);
$webmail = new Webmail($MailBox->mbox,$mailid);
-$elist = $MailBox->mailList["overview"][$mailid];
+$elist = $MailBox->mailList["overview"][($mailid-1)];
echo '<table width="100%" cellpadding="0" cellspacing="0" border="0" class="previewWindow"><tr>';
More information about the vtigercrm-commits
mailing list