From f9d7b92552ed41230039222e5ccf6c8311de4615 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 b914f696be..44e2a077d0 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); }