From 851bd5cbf78c97f1d7b3cf9bc110a5c979c6f60d Mon Sep 17 00:00:00 2001 From: Daniel Heffner Date: Mon, 19 Aug 2019 10:25:07 -0400 Subject: [PATCH] master: Fix for jQuery deprecation of event shorthand: submit --- src/Scripts/jquery.fileDownload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scripts/jquery.fileDownload.js b/src/Scripts/jquery.fileDownload.js index a37208c..dc22f31 100644 --- a/src/Scripts/jquery.fileDownload.js +++ b/src/Scripts/jquery.fileDownload.js @@ -342,7 +342,7 @@ $.extend({ $form = $(formDoc).find('form'); } - $form.submit(); + $form.trigger("submit"); }