From f6ed6ae57161cd01e6de13c0fe6c1132e5b06c99 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 17 Sep 2015 12:45:49 +0200 Subject: fixed visblock for jetty server --- pdf-as-web/src/main/webapp/assets/js/pdf.js/web/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-as-web/src/main/webapp/assets') 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 = "Signature"; -- cgit v1.2.3