Bug 22293: Sticky toolbar making vendor form uneditable
authorOwen Leonard <oleonard@myacpl.org>
Fri, 8 Feb 2019 12:52:48 +0000 (12:52 +0000)
committerroot <root@f1ebe1bec408>
Mon, 11 Feb 2019 18:30:09 +0000 (18:30 +0000)
The new floating toolbar plugin doesn't like a particular combination of
markup: A toolbar inside a form which is styled "display:inline." The
staff client CSS styles forms that way globally, so it must be
explicitly overridden in these situations.

Changing the default will have broad consequences, so I propose an
inline style to fix this.

To test, apply the patch and go to Acquisitions. Add or edit a vendor
and confirm that after scrolling down the page the form is still
editable.

Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Signed-off-by: Mikaƫl Olangcay Brisebois <mikael.olangcay-brisebois@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt

index 8b13637..626417d 100644 (file)
     [% END %]
 [% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
 [% IF ( enter ) %]
-    <form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post">
+    <form action="updatesupplier.pl" name="updatesupplier" style="display:block" class="validated" method="post">
         <div id="toolbar" class="btn-toolbar">
             <button class="btn btn-default btn-sm" type="submit"><i class="fa fa-save"></i> Save</button>
             [% IF ( booksellerid ) %]