(fix) completed the required modifications for XSRF in the mail module

This commit is contained in:
Ludovic Marcotte
2016-05-04 11:12:30 -04:00
parent 993ff15e7f
commit de0540c784
6 changed files with 26 additions and 12 deletions
@@ -22,7 +22,6 @@
vm.saveFolder = saveFolder;
vm.compactFolder = compactFolder;
vm.emptyTrashFolder = emptyTrashFolder;
vm.exportMails = exportMails;
vm.confirmDelete = confirmDelete;
vm.markFolderRead = markFolderRead;
vm.share = share;
@@ -252,10 +251,6 @@
});
}
function exportMails(folder) {
window.location.href = ApplicationBaseURL + '/' + folder.id + '/exportFolder';
}
function confirmDelete(folder) {
Dialog.confirm(l('Confirmation'), l('Do you really want to move this folder into the trash ?'))
.then(function() {