1dc4c848cde9fc9d738fc07841fd4e83e6df20a4
angie
  Mon Nov 4 11:38:07 2019 -0800
Adding triangle icon to all drop-down checklists with class=filterBy. Thx Ana.  refs #23283

diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js
index f31d989..a83e480 100644
--- src/hg/js/ddcl.js
+++ src/hg/js/ddcl.js
@@ -188,31 +188,31 @@
                         $(multiSelect).show(); // necessary to get dimensions
                         ddcl.setup(multiSelect,'noneIsAll');
                     } // else dimensions look okay
                 }
             }
         });
     },
 
     setup: function (obj) {
         // Initialize the multiselect as a DDCL (drop-down checkbox-list)
         //mySelf = this; // There is no need for a "mySelf" unless this object is being instantiated
 
         // Defaults
         var myFirstIsAll = true;
         var myNoneIsAll  = false;
-        var myIcon       = null;
+        var myIcon       = $(obj).hasClass('filterBy') ? {} : null;
         var myEmptyText  = 'Select...';
         var myClose      = 'close  ';
         var myDropHeight = filterByMaxHeight(obj);
         // parse optional args
         for (var vIx=1;vIx<arguments.length;vIx++) {
             switch(arguments[vIx]) {
                 case 'noneIsAll':   myNoneIsAll = true;
                                     break;
                 case 'firstNotAll': myFirstIsAll = false;
                                     break;
                 case 'arrows':      myIcon = {};
                                     break;
                 case 'noClose':     myClose = null;
                                     break;
                 case 'label':       vIx++;