25367be1ea1cf374e19f3773f276cc6a0faa651d markd Thu May 16 10:43:16 2024 -0700 change "Reset filters" label to "Clear filters", as that is really what the button does RM 33727 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 39ccf83..37a81db 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4318,35 +4318,35 @@ void filterBySetCfgUiGuts(struct cart *cart, struct trackDb *tdb, filterBy_t *filterBySet, boolean onOneLine, char *filterTypeTitle, char *selectIdPrefix, char *allLabel, char *prefix, boolean isHighlight) // Does the UI for a list of filterBy structure for either filterBy or highlightBy controls // isHighlight controls the variable name for the cart { if (filterBySet == NULL) return; #define FILTERBY_HELP_LINK "Help" int count = slCount(filterBySet); if (count == 1) puts(""); else - printf("%s items by: (select multiple categories and items - %s)  " + printf("%s items by: (select multiple categories and items - %s)  " "
\n",filterTypeTitle,FILTERBY_HELP_LINK); jsInlineF("$(function () { " - "$('#filterResetButton').click( " + "$('#filterClearButton').click( " " function(ev) { ev.preventDefault(); " " $('.filterBy option[value=\"All\"]').removeAttr(\"selected\");" " $('.filterBy option[Value=\"All\"]').attr('selected', 'selected');" " $('.filterBy').dropdownchecklist('refresh'); " " }); " "});"); #ifdef ADVANCED_BUTTON if (tdbIsBigBed(tdb)) { char varName[1024]; safef(varName, sizeof(varName), "%s.doAdvanced", tdb->track); puts("   "); printf("%s" ,varName,"Advanced "); printf("
");