Webmail: new option to create subfolder

This commit is contained in:
Francis Lachapelle committed 2015-06-11 15:48:14 -04:00
1 parent 2d076358d3
commit 4248cbcb16
2 files changed
+16 -3

No files matched your search

@@ -235,6 +235,16 @@
return Mailbox.$$resource.post(this.id, 'batchDelete', {uids: uids});
};
/**
* @function $newMailbox
* @memberof Account.prototype
* @desc Create a new mailbox on the server and refresh the list of mailboxes.
* @returns a promise of the HTTP operations
*/
Mailbox.prototype.$newMailbox = function(path, name) {
return this.$account.$newMailbox(path, name);
};
/**
* @function $omit
* @memberof Mailbox.prototype