diff --git a/module/bug/js/batchedit.js b/module/bug/js/batchedit.js index fca4d45aac..007112ffdf 100644 --- a/module/bug/js/batchedit.js +++ b/module/bug/js/batchedit.js @@ -78,10 +78,12 @@ $(function() hiddenRequireFields(); }); + var maxAutoDropWidth = document.body.scrollWidth + (document.getElementById('resolutions1').offsetWidth / 2) - document.getElementById('resolutions1').getBoundingClientRect().right; $('select[id^="duplicateBugs"]').picker( { disableEmptySearch : true, dropWidth : 'auto', + maxAutoDropWidth : maxAutoDropWidth, onReady: function(event) { $(event.picker.$container).addClass('required'); diff --git a/module/bug/js/edit.js b/module/bug/js/edit.js index f9003597c9..e039379845 100644 --- a/module/bug/js/edit.js +++ b/module/bug/js/edit.js @@ -23,7 +23,8 @@ $(function() $('#duplicateBug').picker( { disableEmptySearch : true, - dropWidth : 'auto' + dropWidth : 'auto', + maxAutoDropWidth : document.body.scrollWidth + document.getElementById('resolution').offsetWidth - document.getElementById('resolution').getBoundingClientRect().right }); }); diff --git a/module/bug/view/resolve.html.php b/module/bug/view/resolve.html.php index 12e1e27e31..aea25327aa 100644 --- a/module/bug/view/resolve.html.php +++ b/module/bug/view/resolve.html.php @@ -42,7 +42,7 @@ js::set('productID' , $bug->product);