From 6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992 Mon Sep 17 00:00:00 2001 From: fschneider <florian.schneider@student.tugraz.at> Date: Wed, 5 Aug 2015 17:15:49 +0200 Subject: Fixed drag over not highlighting correctly --- pdf-as-web/src/main/webapp/assets/js/dragNdrop.js | 2 ++ pdf-as-web/src/main/webapp/index.jsp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'pdf-as-web/src/main') 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 fd05f81b..d7f8cfb9 100644 --- a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js +++ b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js @@ -26,6 +26,8 @@ function registerEventListeners() { $("#dropzone").bind("dragover", function(evt) { evt.preventDefault(); evt.stopPropagation(); + highlightDropzone(); // test + }); $("#dropzone").bind("dragleave", function(evt) { diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp index 35b1c070..58102ebf 100644 --- a/pdf-as-web/src/main/webapp/index.jsp +++ b/pdf-as-web/src/main/webapp/index.jsp @@ -26,7 +26,7 @@ <input type="file" name="pdf-file" id="pdf-file" accept="application/pdf"> </div> </div> - // Test Kommentar + <div id="signMethod" class="container"> <h3 class="center">Sign Method</h3> <fieldset> -- cgit v1.2.3