Bind callback to the attachment window when dropping file as attachment

Closes #13182
This commit is contained in:
Cédric Krier committed 2024-06-05 18:38:58 +02:00
1 parent bec3fff190
commit 36dee8a853
1 file changed
+1 -1
+1 -1
View File
@@ -1259,7 +1259,7 @@
this.refresh_resources(true);
});
for (const file of files) {
Sao.common.get_file_data(file, window_.add_data);
Sao.common.get_file_data(file, window_.add_data.bind(window_));
}
jQuery.when.apply(jQuery, uris).then(function() {
function empty(value) {