c5f80ca5df4c7e1161dbbb63bd631f81c7f0b64b
tdreszer
  Wed Oct 5 09:41:57 2011 -0700
Cleaned up old 'newJQuery' dependencies.  We are always running as newJQuery now.
diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js
index 9a0114a..e9f1ec1 100644
--- src/hg/js/ddcl.js
+++ src/hg/js/ddcl.js
@@ -165,36 +165,31 @@
             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');
                 control = $('#ddcl-' + id);
                 if (control != null && control != undefined) {
                     var controlSelector = $(control).find(".ui-dropdownchecklist-selector");
                     if ($(controlSelector).width() > 20)
                         return;  // Dimensions look okay
                 }
             }
             $(multiSelect).dropdownchecklist("destroy");
             $(multiSelect).show(); // necessary to get dimensions
-            if (newJQuery)
                 ddcl.setup(multiSelect,'noneIsAll');
-            else
-                $(multiSelect).dropdownchecklist({ firstItemChecksAll: true,
-                                                   noneIsAll: true,
-                                                   maxDropHeight: filterByMaxHeight(multiSelect) });
         });
     },
 
     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 myEmptyText  = 'Select...';
         var myClose      = 'close  ';
         var myDropHeight = filterByMaxHeight(obj);
         // parse optional args