6925dfc572306b7e65f3104ebd232f62ca7f11d5 larrym Wed Oct 19 12:27:48 2011 -0700 remove use of advancedJavascriptFeaturesEnabled config (see redmine #5283); remove NEW_JQUERY cruft diff --git src/hg/hgTracks/searchTracks.c src/hg/hgTracks/searchTracks.c index 449f41e..725c9e5 100644 --- src/hg/hgTracks/searchTracks.c +++ src/hg/hgTracks/searchTracks.c @@ -541,36 +541,30 @@ hPrintf("</table>\n"); if(containerTrackCount > 0) hPrintf("<BR><IMG SRC='../images/folderWrench.png'> Tracks so marked are containers which group related data tracks. Containers may need additional configuration (by clicking on the <IMG SRC='../images/folderWrench.png'> icon) before they can be viewed in the browser.<BR>\n"); //hPrintf("* Tracks so marked are containers which group related data tracks. These may not be visible unless further configuration is done. Click on the * to configure these.<BR><BR>\n"); hPrintf("\n</form>\n"); // be done with json jsonTdbSettingsUse(jsonTdbVars); } hPrintf("</div>"); // This div allows the clear button to empty it } void doSearchTracks(struct group *groupList) { -if (!advancedJavascriptFeaturesEnabled(cart)) - { - warn("Requires advanced javascript features."); - return; - } - webIncludeResourceFile("ui.dropdownchecklist.css"); jsIncludeFile("ui.dropdownchecklist.js",NULL); // This line is needed to get the multi-selects initialized #ifdef NEW_JQUERY jsIncludeFile("ddcl.js",NULL); hPrintf("<script type='text/javascript'>var newJQuery=true;</script>\n"); #else///ifndef NEW_JQUERY hPrintf("<script type='text/javascript'>var newJQuery=false;</script>\n"); hPrintf("<script type='text/javascript'>$(document).ready(function() { $('.filterBy').each( function(i) { $(this).dropdownchecklist({ firstItemChecksAll: true, noneIsAll: true, maxDropHeight: filterByMaxHeight(this) });});});</script>\n"); #endif///ndef NEW_JQUERY struct group *group; char *groups[128]; char *labels[128]; int numGroups = 1;