[Vtigercrm-commits] [vtiger-commits] r10345 - /vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 5 08:52:09 EST 2007
Author: richie
Date: Mon Mar 5 06:52:02 2007
New Revision: 10345
Log:
fixes mail moving issue
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
Modified: vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/webmails.js (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/webmails.js Mon Mar 5 06:52:02 2007
@@ -370,7 +370,9 @@
for(var i=cnt;i>0;i--) {
if(els[i].type == "checkbox" && els[i].name.indexOf("_")) {
if(els[i].checked) {
- var nid = els[i].name.substr((els[i].name.indexOf("_")+1),els[i].name.length);
+ // var nid = els[i].name.substr((els[i].name.indexOf("_")+1),els[i].name.length);
+
+ var nid = els[i].value;
var mvmbox = $("mailbox_select").value;
var row = $("row_"+nid);
new Effect.Fade(row,{queue: {position: 'end', scope: 'effect'},duration: '0.5'});
@@ -387,7 +389,8 @@
}
}
}
- runEmailCommand('expunge','');
+ $('mailbox_select').selectedIndex=0;
+ //runEmailCommand('expunge','');
$("status").style.display="none";
}
function search_emails() {
More information about the vtigercrm-commits
mailing list