Bugzilla – Attachment 20993 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.62 KB, created by
Owen Leonard
on 2013-09-11 15:59:08 UTC
(
hide
)
Description:
Bug 10850 - Give Quick spine label template page its own id
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-09-11 15:59:08 UTC
Size:
1.62 KB
patch
obsolete
>From 8d28aa72f62075bb53eb8e8ba3afb26b1375735a 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 >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../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.9.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