diff options
author | fschneider <florian.schneider@student.tugraz.at> | 2015-09-21 15:50:17 +0200 |
---|---|---|
committer | fschneider <florian.schneider@student.tugraz.at> | 2015-09-21 15:50:17 +0200 |
commit | 5b0e15c9b43161eabf4683f179d139ee86864adb (patch) | |
tree | 094c6bf635bfcc441f51cbb313906214727b96db /pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | |
parent | b87ef37d0a0dae9df4df05e6c9f480e62040396a (diff) | |
download | pdf-as-4-5b0e15c9b43161eabf4683f179d139ee86864adb.tar.gz pdf-as-4-5b0e15c9b43161eabf4683f179d139ee86864adb.tar.bz2 pdf-as-4-5b0e15c9b43161eabf4683f179d139ee86864adb.zip |
final
Diffstat (limited to 'pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js')
-rw-r--r-- | pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js index 570e779d..1af630d6 100644 --- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js +++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js @@ -471,9 +471,7 @@ function updateSignaturePosition(signature) { signature.posx = Math.floor(x / current_scale / (4.0/3.0)).toString(); signature.posy = Math.floor((parseInt(canvas_height) - (y)) / current_scale / (4.0/3.0)).toString(); - - //console.log("last x: last y: " + $("#img_signature").css("left") + " " + $("#img_signature").css("top")); - + last_left = $("#img_signature").css("left"); last_top = $("#img_signature").css("top"); } @@ -649,7 +647,7 @@ function quickSign(connector, pdfurl) { //to decide what action should happen. Currently it only calls //the sign servlet. // -function sign(statusObj) { +function sign(statusObj) { // this is never used..? var file = statusObj.getFile(); if(!file) { alert("No File Opened"); |