(js) Add "Move To" option for selected messages

Fixes #3477
This commit is contained in:
Francis Lachapelle
2016-02-03 16:48:04 -05:00
parent 0e2b1e41a7
commit f321e1c949
6 changed files with 173 additions and 94 deletions
+2 -2
View File
@@ -478,7 +478,7 @@
response = [co moveUIDs: uids toFolder: destinationFolder inContext: context];
if (!response)
{
// Verify if the message beeing delete is saved as the root of a collapsed thread
// Verify if the message being deleted is saved as the root of a collapsed thread
us = [[context activeUser] userSettings];
moduleSettings = [us objectForKey: @"Mail"];
threadsCollapsed = [moduleSettings objectForKey: @"threadsCollapsed"];
@@ -501,7 +501,7 @@
else
{
data = [NSDictionary dictionaryWithObject: [self labelForKey: @"Error moving messages." inContext: context]
forKey: @"error"];
forKey: @"message"];
response = [self responseWithStatus: 500 andJSONRepresentation: data];
}