From 92ce50f3dc07af0b34e9b3830eadf44b46187ca6 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 17 Sep 2015 12:47:04 +0200 Subject: fixed submit problem at least for desktop (check mobile app) --- pdf-as-web/src/main/webapp/assets/js/dragNdrop.js | 2 +- pdf-as-web/src/main/webapp/index.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-as-web/src/main/webapp') diff --git a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js index 46cf6bac..547951d7 100644 --- a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js +++ b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js @@ -403,7 +403,7 @@ function sign(file, connector, locale) { form.method = "POST"; form.action = "Sign"; form.target = "mobileSignOnFrame"; - form.enctype = "multipart/form-data"; + form.enctype = "application/x-www-form-urlencoded"; var input = document.createElement('input'); input.type = 'hidden'; diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp index 45ea4fed..283d1294 100644 --- a/pdf-as-web/src/main/webapp/index.jsp +++ b/pdf-as-web/src/main/webapp/index.jsp @@ -139,7 +139,7 @@ } %> - +