mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 01:15:09 +00:00
See ChangeLog.
Monotone-Parent: 763ab7e667a159d6b727544a067a085d622ab598 Monotone-Revision: 85c2eea4bb09ae229989bf2dba4e20b82d982284 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-06-25T20:43:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -545,6 +545,14 @@ function onMailboxMenuMove(event) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Remove cache of target data source
|
||||
var keys = Mailer.dataSources.keys();
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
if (keys[i] == targetMailbox || keys[i].startsWith(targetMailbox + "?"))
|
||||
Mailer.dataSources.unset(keys[i]);
|
||||
}
|
||||
|
||||
var url = ApplicationBaseURL + encodeURI(Mailer.currentMailbox) + "/moveMessages";
|
||||
var parameters = "uid=" + uids.join(",") + "&folder=" + targetMailbox;
|
||||
var data = { "id": uids, "mailbox": Mailer.currentMailbox, "path": paths, "folder": targetMailbox, "refresh": true };
|
||||
@@ -572,6 +580,14 @@ function onMailboxMenuCopy(event) {
|
||||
uids.push(uid);
|
||||
paths.push(path);
|
||||
}
|
||||
|
||||
// Remove cache of target data source
|
||||
var keys = Mailer.dataSources.keys();
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
if (keys[i] == targetMailbox || keys[i].startsWith(targetMailbox + "?"))
|
||||
Mailer.dataSources.unset(keys[i]);
|
||||
}
|
||||
|
||||
var url = ApplicationBaseURL + encodeURI(Mailer.currentMailbox) + "/copyMessages";
|
||||
var parameters = "uid=" + uids.join(",") + "&folder=" + targetMailbox;
|
||||
var data = { "id": uids, "mailbox": Mailer.currentMailbox, "path": paths, "folder": targetMailbox, "refresh": false };
|
||||
@@ -2282,8 +2298,8 @@ function onLabelMenuPrepareVisibility() {
|
||||
}
|
||||
}
|
||||
|
||||
var lis = this.childNodesWithTag("ul")[0].childNodesWithTag("li")
|
||||
var isFlagged = false;
|
||||
var lis = this.childNodesWithTag("ul")[0].childNodesWithTag("li");
|
||||
var isFlagged = false;
|
||||
for (var i = 1; i < 6; i++) {
|
||||
if (flags["label" + i]) {
|
||||
isFlagged = true;
|
||||
|
||||
Reference in New Issue
Block a user