8fde500b4d9f342a493817891b557121cbc1fd1d
tdreszer
  Tue Feb 8 16:57:08 2011 -0800
Got dropdownchecklist to work within hgTracks popup cfg
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 6a73fd2..34a4df2 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -5587,34 +5587,35 @@
     jsIncludeFile("jquery.imgareaselect.js", NULL);
     jsIncludeFile("ajax.js", NULL);
     webIncludeResourceFile("autocomplete.css");
     jsIncludeFile("jquery.autocomplete.js", NULL);
     jsIncludeFile("autocomplete.js", NULL);
     }
 jsIncludeFile("hgTracks.js", NULL);
 
 #ifdef LOWELAB
 jsIncludeFile("lowetooltip.js", NULL);
 #endif
 
 if(advancedJavascriptFeaturesEnabled(cart))
     {
 webIncludeResourceFile("jquery.contextmenu.css");
+webIncludeResourceFile("ui.dropdownchecklist.css");
 webIncludeResourceFile("jquery-ui.css");
-#ifdef CONTEXT_MENU
 jsIncludeFile("jquery.contextmenu.js", NULL);
-#endif/// def CONTEXT_MENU
+jsIncludeFile("ui.core.js", NULL);
+jsIncludeFile("ui.dropdownchecklist.js", NULL);
     }
 jsIncludeFile("jquery-ui.js", NULL);
 
 //if (!trackImgOnly)
     {
 hPrintf("<div id='hgTrackUiDialog' style='display: none'></div>\n");
 // XXXX stole this and '.hidden' from bioInt.css - needs work
 hPrintf("<div id='warning' class='ui-state-error ui-corner-all hidden' style='font-size: 0.75em; display: none;' onclick='$(this).hide();'><p><span class='ui-icon ui-icon-alert' style='float: left; margin-right: 0.3em;'></span><strong></strong><span id='warningText'></span> (click to hide)</p></div>\n");
     }
 if (cartVarExists(cart, "chromInfoPage"))
     {
     cartRemove(cart, "chromInfoPage");
     chromInfoPage();
     }
 else if (differentString(cartUsualString(cart, TRACK_SEARCH,"0"),"0"))