From feebc3fc0a9716bbdb013772bdbdae212d186bb8 Mon Sep 17 00:00:00 2001 From: Earl Date: Mon, 18 Jan 2016 12:10:08 -0700 Subject: [PATCH 1/2] honor enctype allow encType as a setting value --- src/Scripts/jquery.fileDownload.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Scripts/jquery.fileDownload.js b/src/Scripts/jquery.fileDownload.js index 67a8d79..bde456e 100644 --- a/src/Scripts/jquery.fileDownload.js +++ b/src/Scripts/jquery.fileDownload.js @@ -322,7 +322,12 @@ $.extend({ formDoc = getiframeDocument($iframe); } - formDoc.write("
" + formInnerHtml + "
" + settings.popupWindowTitle + ""); + formDoc.write( + "
" + + formInnerHtml + + "
" + settings.popupWindowTitle + ""); $form = $(formDoc).find('form'); } From 0d01fe7b2d895c29d156f233860cde61b01de037 Mon Sep 17 00:00:00 2001 From: Earl Date: Tue, 19 Jan 2016 08:25:42 -0700 Subject: [PATCH 2/2] Update jquery.fileDownload.js --- 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 bde456e..c4bfefc 100644 --- a/src/Scripts/jquery.fileDownload.js +++ b/src/Scripts/jquery.fileDownload.js @@ -324,7 +324,7 @@ $.extend({ formDoc.write( "
" + formInnerHtml + "
" + settings.popupWindowTitle + "");