From bf9df5bbafc0e3c952821ed3191c690ac27595eb Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Tue, 18 Mar 2014 22:23:22 +0100 Subject: [PATCH] Fixed issue #08843: overflow in dragdrop box Dev: min-heigth is unknow only by IE6 --- scripts/ranking.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ranking.js b/scripts/ranking.js index 86bcc16b5d7..5c1c74c4fc7 100644 --- a/scripts/ranking.js +++ b/scripts/ranking.js @@ -168,7 +168,7 @@ function fixChoiceListHeight(qID,samechoiceheight,samelistheight){ maxHeight=$(this).actual('height'); } }); - $('.connectedSortable'+qID+' li').height(maxHeight); + $('.connectedSortable'+qID+' li').css('min-height',maxHeight+'px'); } if(samelistheight) { @@ -176,7 +176,7 @@ function fixChoiceListHeight(qID,samechoiceheight,samelistheight){ $('.connectedSortable'+qID+' li').each(function(){ totalHeight=totalHeight+$(this).actual('outerHeight',{includeMargin:true});; }); - $('.connectedSortable'+qID).height(totalHeight); + $('.connectedSortable'+qID).css('min-height',totalHeight+'px'); } }