[Vtigercrm-commits] [vtiger-commits] r10296 - /vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 1 10:35:52 EST 2007
Author: richie
Date: Thu Mar 1 08:35:44 2007
New Revision: 10296
Log:
keeps the focus on the mail that has been selected for study
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 Thu Mar 1 08:35:44 2007
@@ -372,11 +372,13 @@
if(els[i].checked) {
var nid = els[i].name.substr((els[i].name.indexOf("_")+1),els[i].name.length);
var mvmbox = $("mailbox_select").value;
+ var row = $("row_"+nid);
+ new Effect.Fade(row,{queue: {position: 'end', scope: 'effect'},duration: '0.5'});
new Ajax.Request(
'index.php',
{queue: {position: 'end', scope: 'command'},
method: 'post',
- postBody: 'module=Webmails&action=WebmailsAjax&file=ListView&mailbox=INBOX&command=move_msg&ajax=true&mailid='+nid+'&mvbox='+mvmbox,
+ postBody: 'module=Webmails&action=WebmailsAjax&file=ListView&mailbox='+gCurrentFolder+'&command=move_msg&ajax=true&mailid='+nid+'&mvbox='+mvmbox,
onComplete: function(t) {
//alert(t.responseText);
}
@@ -385,7 +387,7 @@
}
}
}
- runEmailCommand('expunge','');
+ //runEmailCommand('expunge','');
$("status").style.display="none";
}
function search_emails() {
More information about the vtigercrm-commits
mailing list