a21b8d5bb7d8ffa63069c412ad71fbaeeb9f4e55
angie
  Wed Jun 25 11:00:52 2014 -0700
Fixing bug found by Jonathan: with clean cart, when showing contents offilter section for Regulatory Elements, the multiselects didn't appear.
Turns out that the 'force' argument of ddcl.reinit actually makes it do
nothing!  To avoid disrupting anything else, for now I'll just forgo force.
refs #11461

diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js
index 5d93020..2e57ebb 100644
--- src/hg/js/ddcl.js
+++ src/hg/js/ddcl.js
@@ -153,30 +153,31 @@
         if ($(multiSelect).find('option:selected').length === 0)
             newColor = '#AA0000'; // red
         //else if (msg.search(/color:/i) === -1)
         //    newColor = 'black';
         ddcl.labelSet(control,msg,newColor,'Click to select...');
 
         // Notice special handling for a custom event
         $(multiSelect).trigger('done',multiSelect);
     },
 
     reinit: function (filterBys,force) {
         // ReInitialize the DDCLs (drop-down checkbox-list)
         // This is done when the track search with tabs gets switched to advanced tab
         // because the DDCLs were setup on hidden filterBys and dimensiuons are wrong.
         // if not force, then only reinit when the dimensions are suspect
+// NOTE: If force is true, this doesn't do anything!!
 
         if (filterBys.length < 1)
             return;
 
         $(filterBys).each( function(i) { // Do this by 'each' to set noneIsAll individually
             var multiSelect = this;
             if (!force) { // condition on bad dimensions
                 var id = $(multiSelect).attr('id');
                 var control = normed($('#ddcl-' + id));
                 if (!control) {
                     // Object never initialized so do it now.
                     //$(multiSelect).show(); // necessary to get dimensions
                     ddcl.setup(multiSelect,'noneIsAll');
                 } else {
                     // This is being called before normal init