]> git.koha-community.org Git - koha.git/commit
Fix for Bug 6531 - clicking print button in opac causes 404 error
authorOwen Leonard <oleonard@myacpl.org>
Thu, 7 Jul 2011 14:01:34 +0000 (10:01 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 10 Jul 2011 09:18:29 +0000 (21:18 +1200)
commitf7893311481962c4ba7e51c26dce54466e21ccba
treecbe6682712e4c3cde445084f14e0ca895ed73af6
parent90dc391e1ab6fa552119be4e55ffe5702f0ea54f
Fix for Bug 6531 - clicking print button in opac causes 404 error

opac-detail and opac-ISBDdetail both use window.print(), so I've
added that to opac-MARCdetail as well. I've also eliminated the
"javascript:" pseudo-protocol because it's pointless. I'd
prefer to have a real link for non-js users but that will have
to wait for another bug.

After applying this patch users with JS enabled should get a
print prompt after clicking the "Print" link on opac-MARCdetail.pl

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt