fix move to folder

This commit is contained in:
Yuri Kuznetsov
2024-08-26 10:33:13 +03:00
parent e424c26963
commit e558a3139c
@@ -43,11 +43,9 @@ export default class extends ModalView {
}
setup() {
this.addActionHandler('selectFolder', () => {
const $target = $(e.currentTarget);
const id = $target.attr('data-id');
const name = $target.attr('data-name');
this.addActionHandler('selectFolder', (e, target) => {
const id = target.dataset.id;
const name = target.dataset.name;
this.trigger('select', id, name);
this.close();