mass move confirmation

This commit is contained in:
Yuri Kuznetsov
2024-10-23 09:50:19 +03:00
parent e236aeaf08
commit 2499a2b252
+6 -2
View File
@@ -348,10 +348,14 @@ class EmailListRecordView extends ListRecordView {
}, view => {
view.render();
this.listenToOnce(view, 'select', folderId => {
this.listenToOnce(view, 'select', async folderId => {
this.clearView('dialog');
this.massMoveToFolder(folderId);
if (this.allResultIsChecked) {
await this.confirm(this.translate('confirmation', 'messages'));
}
await this.massMoveToFolder(folderId);
});
});
}