[Vtigercrm-commits] [vtiger-commits] r6426 - /vtigercrm/trunk/modules/Webmails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 25 11:48:05 EDT 2006
Author: mmbrich
Date: Thu May 25 09:48:05 2006
New Revision: 6426
Log:
catch exceptions if email is already read
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 Thu May 25 09:48:05 2006
@@ -8,7 +8,9 @@
var node = $("row_"+mid);
var newhtml = remove(remove(node.innerHTML,'<b>'),'</b>');
node.innerHTML = newhtml;
- var node = $("unread_img_"+mid).innerHTML = '<a href="javascript:;" onclick="OpenCompose(\''+mid+'\',\'reply\');"><img src="modules/Webmails/images/stock_mail-read.png" border="0" width="10" height="11"></a>';
+ try {
+ var node = $("unread_img_"+mid).innerHTML = '<a href="javascript:;" onclick="OpenCompose(\''+mid+'\',\'reply\');"><img src="modules/Webmails/images/stock_mail-read.png" border="0" width="10" height="11"></a>';
+ }catch(e){}
$("from_addy").innerHTML = " "+webmail[mid]["from"];
$("to_addy").innerHTML = " "+webmail[mid]["to"];
$("webmail_subject").innerHTML = " "+webmail[mid]["subject"];
More information about the vtigercrm-commits
mailing list