Bugzilla – Attachment 70130 Details for
Bug 19753
Move template JavaScript to the footer: Acquisitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19753: (QA follow-up) Style invoices menu item when on individual invoice page
Bug-19753-QA-follow-up-Style-invoices-menu-item-wh.patch (text/plain), 1.13 KB, created by
Owen Leonard
on 2017-12-22 15:41:14 UTC
(
hide
)
Description:
Bug 19753: (QA follow-up) Style invoices menu item when on individual invoice page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-12-22 15:41:14 UTC
Size:
1.13 KB
patch
obsolete
>From 93abe7dcd741f294bb27bbd746515fd4e2faebe0 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Thu, 21 Dec 2017 18:12:38 +0000 >Subject: [PATCH] Bug 19753: (QA follow-up) Style invoices menu item when on > individual invoice page > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js b/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js >index 49786b9..08bcc85 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js >@@ -1,4 +1,8 @@ > $(document).ready(function() { > var path = location.pathname.substring(1); >- $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); >-}); >\ No newline at end of file >+ if (path.indexOf("invoice") >= 0) { >+ $('#navmenulist a[href$="/cgi-bin/koha/acqui/invoices.pl"]').css('font-weight','bold'); >+ } else { >+ $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); >+ } >+}); >-- >2.1.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 19753
:
69532
|
69795
|
70081
|
70082
|
70123
|
70124
|
70128
|
70129
| 70130