Bugzilla – Attachment 21852 Details for
Bug 10850
Give Quick spine label template page its own id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Give Quick spine label template page its own id
0002-Bug-10850-Give-Quick-spine-label-template-page-its-o.patch (text/plain), 1.65 KB, created by
Paola Rossi
on 2013-10-07 14:45:00 UTC
(
hide
)
Description:
Give Quick spine label template page its own id
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2013-10-07 14:45:00 UTC
Size:
1.65 KB
patch
obsolete
>From e3390ab55388634e22f9819a67bb4f4ccdaa4b9c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 11 Sep 2013 11:51:54 -0400 >Subject: [PATCH 2/2] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >index b5b9256..72aa9b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >@@ -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 %] >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10850
:
20993
|
21852
|
21973