diff --git a/sao/src/tab.js b/sao/src/tab.js index 34f1b13040..c0c2c24cb9 100644 --- a/sao/src/tab.js +++ b/sao/src/tab.js @@ -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) {