mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-06 07:23:21 +00:00
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:
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user