Bug 16400: Let's hack the fixFloat plugin to fix our needs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Apr 2016 18:01:10 +0000 (19:01 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:01:28 +0000 (10:01 +0200)
commit7012121d082e1587c82fa5d9f0f4669ce2664ca5
tree466986cf425c501fcbd9473278cb55e8ea6dbaa1
parent2628fdd8c4f8bb6f5d5d6a8f35646435ac1a1775
Bug 16400: Let's hack the fixFloat plugin to fix our needs

On comment bug 11088 comment 2, Owen explained the problem with the
fixFloat toolbar. Since we have a hidden div, the plugin does not manage
to place the toolbar correctly.
In order to make it work, this patch adds some changes to the plugin to
add the ability to define our own offset.
When the div is extended (+, filteraction_on), the offset should be
updated to move the toolbar. Same when the div is folded (-,
filteraction_off)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c1f101e86c717ceaccf781de0f1c05dc23c8272a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt