Webmail: new option to create subfolder

This commit is contained in:
Francis Lachapelle committed 2014-12-18 16:30:17 -05:00
1 parent 494a809276
commit 53ea174674
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