22419823c9aff203bdc6bc8852dddeadba971d03
tdreszer
  Fri Mar 11 17:41:07 2011 -0800
Should be retiring ui.code.js as jquery-ui.js is a superset.
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 6630df3..73cdda4 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -3507,33 +3507,32 @@
 
 void filterBySetCfgUi(struct trackDb *tdb, filterBy_t *filterBySet, boolean onOneLine)
 /* Does the UI for a list of filterBy structure */
 {
 if(filterBySet == NULL)
     return;
 
 #define FILTERBY_HELP_LINK  "<A HREF=\"../goldenPath/help/multiView.html\" TARGET=ucscHelp>help</A>"
 int count = slCount(filterBySet);
 if(count == 1)
     puts("<TABLE cellpadding=3><TR valign='top'>");
 else
     printf("<B>Filter items by:</B> (select multiple categories and items - %s)<TABLE cellpadding=3><TR valign='top'>\n",FILTERBY_HELP_LINK);
 
 filterBy_t *filterBy = NULL;
-jsIncludeFile("ui.core.js",NULL);
-jsIncludeFile("ui.dropdownchecklist.js",NULL);
 webIncludeResourceFile("ui.dropdownchecklist.css");
+jsIncludeFile("ui.dropdownchecklist.js",NULL);
 
 int ix=0;
 for(filterBy = filterBySet;filterBy != NULL; filterBy = filterBy->next)
     {
     puts("<TD>");
     if(count == 1)
         printf("<B>Filter by %s</B> (select multiple items - %s)",filterBy->title,FILTERBY_HELP_LINK);
     else
         printf("<B>%s</B>",filterBy->title);
 
     //if (onOneLine && count > 1) // NOTE: onOneLine doesn't work because filterBy with multiple selected will align above title!
         printf("<BR>\n");
     //else
     //    printf(":\n");
     // TODO: Scroll long lists