[Vtigercrm-commits] [vtiger-commits] r6604 - /vtigercrm/trunk/modules/Webmails/webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 05:29:59 EDT 2006
Author: mmbrich
Date: Sun May 28 03:29:58 2006
New Revision: 6604
Log:
we don't subtract a message from the count when deleted because the total count includes all emails
Modified:
vtigercrm/trunk/modules/Webmails/webmails.js
Modified: vtigercrm/trunk/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/trunk/modules/Webmails/webmails.js (original)
+++ vtigercrm/trunk/modules/Webmails/webmails.js Sun May 28 03:29:58 2006
@@ -309,8 +309,6 @@
var unread = parseInt($(mailbox+"_unread").innerHTML);
$(mailbox+"_unread").innerHTML = (unread-1);
}
- var read = parseInt($(mailbox+"_read").innerHTML);
- $(mailbox+"_read").innerHTML = (read-1);
row.className = "deletedRow";
try {
$("ndeleted_subject_"+id).innerHTML = "<s>"+$("ndeleted_subject_"+id).innerHTML+"</s>";
@@ -339,8 +337,6 @@
var newhtml = remove(remove(node.innerHTML,'<s>'),'</s>');
node.innerHTML=newhtml;
$("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'delete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-empty.png" border="0" width="14" height="14" alt="del"></a>';
- var read = parseInt($(mailbox+"_read").innerHTML);
- $(mailbox+"_read").innerHTML = (read+1);
break;
case 'clear_flag':
var nm = "clear_td_"+id;
More information about the vtigercrm-commits
mailing list