quick button fix for IE
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 10 Jan 2011 15:15:39 +0000 (15:15 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 10 Jan 2011 15:15:39 +0000 (15:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1182 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/TODO
conifer/templates/item/item_metadata.xhtml

index e1d34ef..33a2a0f 100644 (file)
@@ -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@uwindsor.ca as the contact email for problems.
 
 * check apache error logs for 'parse' error that Art mentioned.
index afe53c7..a4804b4 100644 (file)
@@ -74,10 +74,10 @@ callnum = item.call_number()
        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>