From 9f62d4e5db21fdd6d70dc62485ff23cfb515dac3 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 17 Jul 2017 13:26:10 +0000 Subject: [PATCH] SSDM-5394 : Fix Table width on Fuelux Repeater SVN: 38542 --- .../1/as/webapps/eln-lims/html/lib/grid/js/Grid.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js index 5234aea58c8..e6ca965492f 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js @@ -711,10 +711,9 @@ $.extend(Grid.prototype, { thisGrid.firstLoad = false; } - - // HACK: Fix that only works if there is only one table at a time (dont works Safari) -// var newWidth = $(".repeater-list-wrapper > .table").width(); -// $(".repeater").width(newWidth); + // Fix table width since fuelux 3.1.0 + var newWidth = $(thisGrid.panel).find(".repeater-list-wrapper > .table").width(); + $(thisGrid.panel).find(".repeater").width(newWidth); var optionsDropdowns = $(".dropdown.table-options-dropdown"); for(var i = 0; i < optionsDropdowns.length; i++) { -- GitLab