From 8873a23fd63e4ab2463ed751162e38a35c07a46b Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 24 Apr 2018 11:26:16 -0600 Subject: [PATCH] Filemanager - Fix save as only downloaded the last file --- filemanager/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 6518970a55..725fbaff85 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -659,7 +659,7 @@ app.classes.filemanager = AppJS.extend( window.setTimeout(jQuery.proxy(function() { var evt = document.createEvent('MouseEvent'); evt.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null); - a[0].dispatchEvent(evt); + this[0].dispatchEvent(evt); this.remove(); }, a), 100*i); }