Bug 10586: fix CSS styling when printing cart from Firefox
authorOwen Leonard <oleonard@myacpl.org>
Fri, 19 Jul 2013 16:21:42 +0000 (12:21 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 22 Jul 2013 16:04:51 +0000 (16:04 +0000)
commit04b6b4ae727c8e2c025c75fba3dd59255ee26926
tree743ac80c3b3313ed4222efe8110cd814f3cdcdb9
parent0b05d1acb9e5402a85fc39987577a8686c07d27c
Bug 10586: fix CSS styling when printing cart from Firefox

When printing the Cart from Firefox the styling is off even though it
looks correct in preview. I think this may be because the preview is
including stylesheets designated for screen.

This patch removes special handling of JS and CSS assets for the Cart's
print view, letting the page handle print styling like other pages in
the OPAC.

To test, put items in your Cart in the OPAC. Open your Cart and click
the "print" link. Your printout should be correctly styled and match the
preview.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Tested both fail condition and condition with patch - display is much improved. Thanks, Owen!

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Works as advertised

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt