diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-09-17 12:45:49 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-09-17 12:45:49 +0200 |
commit | f6ed6ae57161cd01e6de13c0fe6c1132e5b06c99 (patch) | |
tree | 189d5db83e118061c11a42381be01c031b9b8e79 /pdf-as-web/src/main | |
parent | c09a39920c07deca24fdf4041a302aa62135e909 (diff) | |
download | pdf-as-4-f6ed6ae57161cd01e6de13c0fe6c1132e5b06c99.tar.gz pdf-as-4-f6ed6ae57161cd01e6de13c0fe6c1132e5b06c99.tar.bz2 pdf-as-4-f6ed6ae57161cd01e6de13c0fe6c1132e5b06c99.zip |
fixed visblock for jetty server
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r-- | pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | 4 |
1 files changed, 2 insertions, 2 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 90cf09fc..570e779d 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 @@ -281,7 +281,7 @@ function registerSignaturePlacementEventHandlers() { var current_scale = PDFViewerApplication.pdfViewer.currentScale; var sig_size = Math.floor(96 * current_scale); console.log("Signature resizing: " + sig_size); - var image_source = global_status.applicationContext + "/visblock?r=" + sig_size.toString(); + var image_source = global_status.applicationContext + "visblock?r=" + sig_size.toString(); $("#img_signature").attr("src", image_source); @@ -351,7 +351,7 @@ function placeSignature(evt, page_to_place, s) { var sig_size = Math.floor(96 * current_scale); //sig_size = 300; console.log("Signature resolution: " + sig_size); - var image_source = global_status.applicationContext + "/visblock?r=" + sig_size.toString(); + var image_source = global_status.applicationContext + "visblock?r=" + sig_size.toString(); var defaultSignature = "<img src='" + image_source + "' alt='Signature' id='img_signature' class='cl_signature' draggable='true' style='position: absolute; z-index:4; " + "cursor:move; left:" + left_pos + "; top:" + top_pos + ";'>"; |