Bugzilla – Attachment 21973 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]
Bug 10850 - Give Quick spine label template page its own id
Bug-10850---Give-Quick-spine-label-template-page-i.patch (text/plain), 1.68 KB, created by
Kyle M Hall (khall)
on 2013-10-11 16:59:15 UTC
(
hide
)
Description:
Bug 10850 - Give Quick spine label template page its own id
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-10-11 16:59:15 UTC
Size:
1.68 KB
patch
obsolete
>From c0cf4bd64c96e3602275789a5f0574ef51eb60ee Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 11 Sep 2013 11:51:54 -0400 >Subject: [PATCH] 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> >--- > .../prog/en/modules/labels/spinelabel-print.tt | 4 ++-- > 1 files 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.2.5
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