See ChangeLog

Monotone-Parent: 3567e5aef4045091a835f8185e4f1ff94e748c78
Monotone-Revision: e43c9b00bdea42b8d8040a8c2bb1123e3a5230ec

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-08-11T18:29:05
This commit is contained in:
Ludovic Marcotte
2010-08-11 18:29:05 +00:00
parent 5c291627a4
commit 798076e6fa
5 changed files with 12 additions and 9 deletions
+2 -3
View File
@@ -551,7 +551,7 @@ function onMailboxMenuMove(event) {
deleteCachedMailbox(targetMailbox);
var url = ApplicationBaseURL + encodeURI(Mailer.currentMailbox) + "/moveMessages";
var parameters = "uid=" + uids.join(",") + "&folder=" + targetMailbox;
var parameters = "uid=" + uids.join(",") + "&folder=" + encodeURIComponent(targetMailbox);
var data = { "id": uids, "mailbox": Mailer.currentMailbox, "path": paths, "folder": targetMailbox, "refresh": true };
triggerAjaxRequest(url, folderRefreshCallback, data, parameters,
{ "Content-type": "application/x-www-form-urlencoded" });
@@ -570,7 +570,6 @@ function onMailboxMenuCopy(event) {
targetMailbox = this.mailbox.fullName();
else // from DnD
targetMailbox = this.readAttribute("dataname");
for (var i = 0; i < rows.length; i++) {
var uid = rows[i].readAttribute("id").substr(4);
var path = Mailer.currentMailbox + "/" + uid;
@@ -582,7 +581,7 @@ function onMailboxMenuCopy(event) {
deleteCachedMailbox(targetMailbox);
var url = ApplicationBaseURL + encodeURI(Mailer.currentMailbox) + "/copyMessages";
var parameters = "uid=" + uids.join(",") + "&folder=" + targetMailbox;
var parameters = "uid=" + uids.join(",") + "&folder=" + encodeURIComponent(targetMailbox);
var data = { "id": uids, "mailbox": Mailer.currentMailbox, "path": paths, "folder": targetMailbox, "refresh": false };
triggerAjaxRequest(url, folderRefreshCallback, data, parameters,
{ "Content-type": "application/x-www-form-urlencoded" });