changeset 41:464224060150

Fixed: Download PDF all browsers Fixed: - Now the Download PDF button should be visible on all browsers Signed-off-by: Alistair-Russell <russell.alistair@gmail.com>
author arussell
date Thu, 02 Jul 2015 21:26:32 +0000
parents d52657711e61
children 72b58ef8b9ae
files src/main/webapp/imageServer/displayDigi.jsp src/main/webapp/public/publicCodex.jsp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/imageServer/displayDigi.jsp	Mon Jun 29 17:04:59 2015 +0000
+++ b/src/main/webapp/imageServer/displayDigi.jsp	Thu Jul 02 21:26:32 2015 +0000
@@ -216,7 +216,7 @@
 		digiBean.getDigiLabel().substring(0,6) == 'Spreng'||
 		digiBean.getDigiLabel().substring(0,6) == 'Wetzst'}">
 		<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${digiBean.getDigiLabel()}.pdf'>
-			<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
+			<input type="button" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</input>
 		</form>
 	</c:if>
 	<div class="custom-container">
--- a/src/main/webapp/public/publicCodex.jsp	Mon Jun 29 17:04:59 2015 +0000
+++ b/src/main/webapp/public/publicCodex.jsp	Thu Jul 02 21:26:32 2015 +0000
@@ -245,7 +245,7 @@
 		digiBean.getDigiLabel().substring(0,6) == 'Spreng'||
 		digiBean.getDigiLabel().substring(0,6) == 'Wetzst'}">
 		<form method="get" value="<%=codexPage.getDigiLabel()%>" action='https://images.rasi.mcgill.ca/pdfs/${codexPage.getDigiLabel()}.pdf'>
-			<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
+			<input type="button" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</input>
 		</form>
 	</c:if>
 	<div class="custom-container">