aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
authorfschneider <florian.schneider@student.tugraz.at>2015-08-05 17:15:49 +0200
committerfschneider <florian.schneider@student.tugraz.at>2015-08-05 17:15:49 +0200
commit6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992 (patch)
tree8539eb3787dba5b35221fc18280e6dbf7db03288 /pdf-as-web
parentc12cb795533e60f8d8a825a5ffa4797fa65c3a77 (diff)
downloadpdf-as-4-6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992.tar.gz
pdf-as-4-6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992.tar.bz2
pdf-as-4-6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992.zip
Fixed drag over not highlighting correctly
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/src/main/webapp/assets/js/dragNdrop.js2
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp2
2 files changed, 3 insertions, 1 deletions
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>