Bugzilla – Attachment 90248 Details for
Bug 22948
Markup error in OPAC bibliographic detail template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22948: Markup error in OPAC bibliographic detail template
Bug-22948-Markup-error-in-OPAC-bibliographic-detai.patch (text/plain), 2.03 KB, created by
Maryse Simard
on 2019-05-31 19:11:21 UTC
(
hide
)
Description:
Bug 22948: Markup error in OPAC bibliographic detail template
Filename:
MIME Type:
Creator:
Maryse Simard
Created:
2019-05-31 19:11:21 UTC
Size:
2.03 KB
patch
obsolete
>From e59d46f210991fead72e4e043d2311114ba0275d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 May 2019 14:27:40 +0000 >Subject: [PATCH] Bug 22948: Markup error in OPAC bibliographic detail template > >This patch addresses one markup problem in opac-detail.tt which triggers >a validation error. > >To reproduce the problem, view the normal bibliographic detail page for >a record in the OPAC. Run the page through the W3C validation service: >https://validator.w3.org. Either by pasting in the URL for the search >results (if web accessible) or by viewing source, copying, and pasting >into "Validate by Direct Input." > >This patch addresses one specific error: > > - "The aria-labelledby attribute must point to an element in the same > document." > >To test, apply the patch and try again to reproduce the validation >errors. Those errors should no longer be present. There should be no >visible change to the page. > >Test the "Save record -> Dublin Core" menu item. It should trigger a >modal window. > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >index e1c645d..9384e94 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >@@ -90,7 +90,7 @@ > </ul> > > <!-- Dublin Core Modal Form --> >-<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true"> >+<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportModalLabel" aria-hidden="true"> > <div class="modal-header"> > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> > <h3 class="modal-title" id="exportModalLabel">Exporting to Dublin Core...</h3> >-- >2.7.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 22948
:
89943
|
90248
|
90257
|
90266