Bugzilla – Attachment 64205 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]
Bug 18685: (bug 18551 follow-up) Fix patron toolbar
Bug-18685-bug-18551-follow-up-Fix-patron-toolbar.patch (text/plain), 2.15 KB, created by
Jonathan Druart
on 2017-06-12 14:41:49 UTC
(
hide
)
Description:
Bug 18685: (bug 18551 follow-up) Fix patron toolbar
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-12 14:41:49 UTC
Size:
2.15 KB
patch
obsolete
>From 5ce840fd1bb14c1f77b109dd237e2720667f04d5 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] 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 >--- > .../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 73cb4d60a5..7f6f734322 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.11.0
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