[Vtigercrm-commits] [vtiger-commits] r6585 - in /vtigercrm/trunk/modules/Webmails: ListView.php webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 02:42:26 EDT 2006
Author: mmbrich
Date: Sun May 28 00:42:25 2006
New Revision: 6585
Log:
removed references to Webmails/EditView and DetailView
Modified:
vtigercrm/trunk/modules/Webmails/ListView.php
vtigercrm/trunk/modules/Webmails/webmails.js
Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Sun May 28 00:42:25 2006
@@ -179,7 +179,7 @@
// read/unread/forwarded/replied
if(!$mails[$start_message]->seen || $mails[$start_message]->recent)
{
- $flags.='<span id="unread_img_'.$num.'"><a href="index.php?module=Webmails&action=DetailView&'.$detailParams.'"><img src="modules/Webmails/images/stock_mail-unread.png" border="0" width="10" height="14"></a></span> ';
+ $flags.='<span id="unread_img_'.$num.'"><a href="javascript:;" onclick="OpenCompose(\''.$num.'\',\'reply\');"><img src="modules/Webmails/images/stock_mail-unread.png" border="0" width="10" height="14"></a></span> ';
}
elseif ($mails[$start_message]->in_reply_to || $mails[$start_message]->references || preg_match("/^re:/i",$mails[$start_message]->subject))
$flags.='<a href="javascript:;" onclick="OpenCompose(\''.$num.'\',\'reply\');"><img src="modules/Webmails/images/stock_mail-replied.png" border="0" width="10" height="12"></a> ';
Modified: vtigercrm/trunk/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/trunk/modules/Webmails/webmails.js (original)
+++ vtigercrm/trunk/modules/Webmails/webmails.js Sun May 28 00:42:25 2006
@@ -138,7 +138,7 @@
var unread = Builder.node('span',
{id: 'unread_img_'+mailid},
[ Builder.node('a',
- {href: 'index.php?module=Webmails&action=DetailView&record='+mailid+'&mailbox='+mailbox+'&mailid='+mailid},
+ {href: 'javascript:;', onclick: 'OpenCompose('+mailid+',\'reply\')'},
[ Builder.node('img',
{src: 'modules/Webmails/images/stock_mail-unread.png', border: '0', width: '10', height: '14'}
)]
More information about the vtigercrm-commits
mailing list