Bug 21139: No table in toolbar
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Aug 2018 16:18:47 +0000 (13:18 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 14 Aug 2018 11:41:07 +0000 (11:41 +0000)
We do not need this selector, we will not have a table in the toolbar

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js

index 3a8a494..c0df4ea 100644 (file)
             tbhBis.attr('id', tbh.attr('id')+'Bis'); // Avoid 2 elts with the same id
             tbh.after(tbhBis);
             tbh.width(tbh.width());
-            var tbl = tbh.find("th,td");
-            if (tbl.length > 0) {
-                tbl.each(function () {
-                    var $elt = $(this);
-                    $elt.width($elt.outerWidth(true));
-                });
-            }
             tbh.css({
                 'position': 'absolute',
                     'top': originalPosition,