mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 18:35:10 +00:00
(fix) broken top level mailbox creation
This commit is contained in:
@@ -189,7 +189,8 @@
|
||||
var _this = this,
|
||||
deferred = Account.$q.defer();
|
||||
|
||||
Account.$$resource.post(path, 'createFolder', {name: name}).then(function() {
|
||||
// Prefix '' to the path since we might get an integer here (account's id)
|
||||
Account.$$resource.post('' + path, 'createFolder', {name: name}).then(function() {
|
||||
_this.$getMailboxes({reload: true});
|
||||
deferred.resolve();
|
||||
}, function(response) {
|
||||
|
||||
Reference in New Issue
Block a user