Bug 10850 - give quick spine label template page its own ID
authorOwen Leonard <oleonard@myacpl.org>
Wed, 11 Sep 2013 15:51:54 +0000 (11:51 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Oct 2013 04:51:14 +0000 (04:51 +0000)
commit5fe524cf3ab0ff78401e7b467823da4d62d9a537
tree3cfaab74e0c70e5e741ebe90d1b8645772aea4dd
parentce9f504c7903d7431c8e18754f18ddf5bca2727a
Bug 10850 - give quick spine label template page its own ID

Out of three conditional cases for display of the <body> tag one lacked
a unique ID. This patch copies the unique ID from the other cases to the
one lacking.

This patch also corrects the case of an "onload" attribute which should
follow XHTML style rules.

To test, the patch for Bug 9618 must be applied. Set the
SpineLabelAutoPrint system preference to "[don't] automatically pop up a
print dialog." Submit a barcode on the quick spine label creator and
view source. The <body> tag should have an ID attribute.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt