Bug 8893 [Follow-up] show more information on printout origin/new/bug_8893
authorOwen Leonard <oleonard@myacpl.org>
Fri, 30 Nov 2012 20:38:09 +0000 (15:38 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 3 Dec 2012 11:31:06 +0000 (06:31 -0500)
This follow-up removes the old link to detailprint.pl and
replaces it with an empty container as a hook for the YUI
button function.

The appearance and functionality should not be any
different.

Signed-off-by: Melia Meggs <melia@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This patch removes a ref to detailprint.pl.
With JS a "Print" button is displayed (else it is not).
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc

index 413527a..f8e6b4a 100644 (file)
@@ -234,7 +234,7 @@ function confirm_items_deletion() {
        [% END %]       
 
        <li><a id="addtoshelf" href="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?biblionumber=[% biblionumber %]">Add to shelf</a></li>
-       <li><a id="printbiblio" href="/cgi-bin/koha/catalogue/detailprint.pl?biblionumber=[% biblionumber %]">Print</a></li>
+    <li><span id="printbiblio"></span></li>
        [% IF ( CAN_user_reserveforothers ) %]
     [% UNLESS ( norequests ) %]<li><a id="placehold" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>[% END %]
        [% END %]