Add button to create new mailbox from account root

This commit is contained in:
Francis Lachapelle
2015-04-29 14:37:04 -04:00
parent b390a4b117
commit d0ee85e77a
2 changed files with 11 additions and 4 deletions

View File

@@ -180,9 +180,7 @@
Dialog.prompt(l('New folder'),
l('Enter the new name of your folder :'))
.then(function(name) {
if (name && name.length > 0) {
parentFolder.$newMailbox(parentFolder.id, name);
}
parentFolder.$newMailbox(parentFolder.id, name);
});
};
$scope.editFolder = function(folder) {