[Patches] [PATCH] Bug 6291 - Cart printing truncated in Firefox

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Wed Dec 7 07:05:03 NZDT 2011


From: Owen Leonard <oleonard at myacpl.org>
Date: Tue, 6 Dec 2011 12:50:57 -0500
Subject: [PATCH] Bug 6291 - Cart printing truncated in Firefox
Content-Type: text/plain; charset="utf-8"

Alternate fix suggested by http://www.sidesofmarch.com/index.php/archive/2007/04/25/firefox-truncates-long-tables-when-printing/

Seems absurd that changing the top heading from an <h1> to an <h2>
would fix the problem, but it does in my tests in Firefox 3.6 and 8
on Windows 7
---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt
index 5fc5503..62be158 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt
@@ -118,7 +118,7 @@ function tagAdded() {
 
 <div id="doc" class="yui-t7">
 <div id="userbasket" class="container">
-<h1>Your Cart</h1>
+<h2>Your Cart</h2>
 
 [% UNLESS ( print_basket ) %]
 <div id="toolbar">
-- 
1.7.3




More information about the Patches mailing list