Bugzilla – Attachment 64206 Details for
Bug 18685
Patron edit/cancel floating toolbar out of place
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 18685: (bug 18551 follow-up) Fix patron toolbar
SIGNED-OFF-Bug-18685-bug-18551-follow-up-Fix-patro.patch (text/plain), 2.20 KB, created by
Owen Leonard
on 2017-06-12 14:52:56 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 18685: (bug 18551 follow-up) Fix patron toolbar
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-06-12 14:52:56 UTC
Size:
2.20 KB
patch
obsolete
>From 79635a30193ac28eec078e8258e0870286737655 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 12 Jun 2017 11:38:59 -0300 >Subject: [PATCH] [SIGNED-OFF] Bug 18685: (bug 18551 follow-up) Fix patron > toolbar > >Bug 18551 moves the way the filters are displayed and so the position of >the patron toolbar must be recalculated. > >Test plan: >Edit patron's detail >open the filters, scrolldown >close the filters, scrolldown >=> The toolbar must be correctly placed > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 73cb4d6..7f6f734 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -13,16 +13,16 @@ $(document).ready(function() { > $("#saverecord").css({ 'margin-left': 0 }); > var original_offset = $("#toolbar").position().top; > var additional_height = $("#filters").height(); >- $('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); >+ $('#toolbar').fixFloat({ 'originalOffset': original_offset }); > $("#filteraction_on").on("click", function(){ > $(window).off('scroll'); >- $("#toolbar").css({ top: original_offset }); >- $('#toolbar').fixFloat({ 'originalOffset': original_offset }); >+ $("#toolbar").css({ top: original_offset + additional_height }); >+ $('#toolbar').fixFloat({ 'originalOffset': original_offset + additional_height }); > }); > $("#filteraction_off").on("click", function(){ > $(window).off('scroll'); >- $("#toolbar").css({ top: original_offset - additional_height}); >- $('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); >+ $("#toolbar").css({ top: original_offset }); >+ $('#toolbar').fixFloat({ 'originalOffset': original_offset }); > }) > > [% IF categorycode %] >-- >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 18685
:
63755
|
64205
| 64206 |
64207