]> 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 Nighswonger <chris.nighswonger@gmail.com>
Sun, 10 Jul 2011 18:37:10 +0000 (14:37 -0400)
commit9b15650d6cd1c5bdab6d8157e3fcb0b82457654a
tree0f9e12909c1494a846e607eb69d227e7187917a2
parent431c63e25f80c63764aac67ff4d196add9da093d
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>
(cherry picked from commit f7893311481962c4ba7e51c26dce54466e21ccba)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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