85d50be0698425886b76dbd31aed744b934586b9
tdreszer
  Tue Apr 26 14:46:27 2011 -0700
Added scrollbars to dropdownchecklist multi-selects
diff --git src/hg/js/hui.js src/hg/js/hui.js
index e2d543c..d83e9d5 100644
--- src/hg/js/hui.js
+++ src/hg/js/hui.js
@@ -1068,21 +1068,21 @@
 $(document).ready(function()
 {
     // Initialize sortable tables
     $('table.sortable').each(function (ix) {
         sortTableInitialize(this,true,true);
     });
 
     // Register tables with drag and drop
     $("table.tableWithDragAndDrop").each(function (ix) {
         tableDragAndDropRegister(this);
     });
 
     $('.halfVis').css('opacity', '0.5'); // The 1/2 opacity just doesn't get set from cgi!
 
     $('.filterComp').each( function(i) { // Do this by 'each' to set noneIsAll individually
-        $(this).dropdownchecklist({ firstItemChecksAll: true, noneIsAll: $(this).hasClass('filterBy') });
+        $(this).dropdownchecklist({ firstItemChecksAll: true, noneIsAll: $(this).hasClass('filterBy'), maxDropHeight: filterByMaxHeight(this) });
     });
 
     // Put navigation links in top corner
     navigationLinksSetup();
 });