[open-ils-commits] r1182 - in servres/trunk/conifer: . templates/item (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 10 10:15:41 EST 2011


Author: gfawcett
Date: 2011-01-10 10:15:39 -0500 (Mon, 10 Jan 2011)
New Revision: 1182

Modified:
   servres/trunk/conifer/TODO
   servres/trunk/conifer/templates/item/item_metadata.xhtml
Log:
quick button fix for IE

Modified: servres/trunk/conifer/TODO
===================================================================
--- servres/trunk/conifer/TODO	2011-01-10 04:35:24 UTC (rev 1181)
+++ servres/trunk/conifer/TODO	2011-01-10 15:15:39 UTC (rev 1182)
@@ -1,5 +1,7 @@
 NEW:
 
+* review item_metadata.xhtml, fix those buttons, they have a superfluous link around them..
+
 * add Welcome message to home page, use request at uwindsor.ca as the contact email for problems.
 
 * check apache error logs for 'parse' error that Art mentioned.

Modified: servres/trunk/conifer/templates/item/item_metadata.xhtml
===================================================================
--- servres/trunk/conifer/templates/item/item_metadata.xhtml	2011-01-10 04:35:24 UTC (rev 1181)
+++ servres/trunk/conifer/templates/item/item_metadata.xhtml	2011-01-10 15:15:39 UTC (rev 1182)
@@ -74,10 +74,10 @@
 	for my own private study and research use. I agree that I will not
 	reproduce, redistribute or transmit a copy of the reading in any
 	format.</p>
-	<p><a class="bigdownload" href="javascript:askToDownload();"><button>Request to download this document</button></a></p>
+	<p><a class="bigdownload" href="javascript:askToDownload();"><button onclick="askToDownload();">Request to download this document</button></a></p>
       </div>
       <div id="downloadpanel">
-	<p><a class="bigdownload" href="${item.item_download_url()}"><button>Click here to download the document.</button></a></p>
+	<p><a class="bigdownload" href="${item.item_download_url()}"><button onclick="location='${item.item_download_url()}';">Click here to download the document.</button></a></p>
 	<p>Document type: ${item.fileobj_mimetype}. Size: ${item.fileobj.size} bytes.</p>
 	</div>
     </div>



More information about the open-ils-commits mailing list