mail: refresh in the background

This commit is contained in:
Girish Ramakrishnan
2020-03-28 17:48:11 -07:00
parent ba0e5d0b59
commit ad48bc0ee8
+3 -7
View File
@@ -299,14 +299,10 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
return;
}
$scope.mailboxes.add.reset();
$scope.mailboxes.refresh(function (error) {
if (error) return console.error(error);
$scope.mailboxes.refresh();
$scope.catchall.refresh();
$scope.catchall.refresh();
$('#mailboxAddModal').modal('hide');
});
$('#mailboxAddModal').modal('hide');
});
}
},