From b68a081e5e4ddc3836c88f8fca34b594c0c21d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 24 Aug 2015 18:15:50 +0200 Subject: [PATCH] misc: fix dragging elements over the page edget (#8112) --- wcs/qommon/static/js/biglist.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcs/qommon/static/js/biglist.js b/wcs/qommon/static/js/biglist.js index 92fd3bf..a162e90 100644 --- a/wcs/qommon/static/js/biglist.js +++ b/wcs/qommon/static/js/biglist.js @@ -1,5 +1,10 @@ $(document).ready( function () { + if ($('ul.biglist.sortable').length) { + /* work around a jquery bug with .sortable() called on a container + * set with position: relative and overflow properties */ + $('#main-content').css('overflow', 'inherit'); + } $('ul.biglist.sortable').sortable( { accept: 'biglistitem', -- 2.5.0