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>
(cherry picked from commit 5fe524cf3a)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
b6330d75c1
commit
9fd59ed985
|
|
@ -27,9 +27,9 @@
|
|||
</body>
|
||||
[% ELSE %]
|
||||
[% IF ( autoprint ) %]
|
||||
<body id="labels_spinelabel-print" class="tools labels" onLoad="window.print()">
|
||||
<body id="labels_spinelabel-print" class="tools labels" onload="window.print()">
|
||||
[% ELSE %]
|
||||
<body>
|
||||
<body id="labels_spinelabel-print" class="tools labels">
|
||||
[% END %]
|
||||
<span id="spinelabel" class="label">
|
||||
[% content %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue