47ea57080b515e5dad5f658c58feb8944a7e7d61 chmalee Thu Jan 29 15:30:26 2026 -0800 Replace clade/assembly dropdowns with a search bar on most CGIs. Add a recents list to hgGateway and to the species bar and to the 'Genomes' dropdown menu. Track recently selected species in localStorage. Add toGenome and fromGenome arguemnts to hubApi/liftOver in order to find appropriate liftover assemblies, refs #36232 diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index d444b34c90c..adb135ffc30 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -93,30 +93,33 @@ * jsInit must be called first. * Do not free return value! */ void jsIncludeFile(char *fileName, char *noScriptMsg); /* Prints out html to include given javascript file from the js directory; suppresses redundant * <script ...> tags if called repeatedly. * <noscript>...</noscript> tags are provided automatically. The noscript message may be specified via * the noScriptMsg parameter (the string may contain HTML markup). A default msg is provided * if noScriptMsg == NULL; noscript msg is suppressed if noScriptMsg == "" (this is useful * if you want to more carefully control where the message will appear on the page). */ void jsIncludeReactLibs(); /* Prints out <script src="..."> tags for external libraries including ReactJS & ImmutableJS * and our own model libs, React mixins and components. */ +void jsIncludeAutoCompleteLibs(); +/* Prints out <script src="..."> tags for autocompleteCat.js */ + void jsIncludeDataTablesLibs(); /* Prints out <script src="..."> tags for external libraries: jQuery 1.12.3, the jQuery DataTables * plugin (version 1.10.12), and the accompanying standard CSS file for DataTables. */ char *jsDataTableStateSave (char *cartPrefix); /* Prints out a javascript function to save the state of a DataTables jQuery plugin-enabled * table to the cart, using the specified cart prefix to help name the variable. */ char *jsDataTableStateLoad (char *cartPrefix, struct cart *cart); /* Prints out a javascript function to load the state of a DataTables jQuery plugin-enabled * table from the cart variable whose prefix is specified in the first argument */ char *jsCheckAllOnClickHandler(char *idPrefix, boolean state); /* Returns javascript for use as an onclick attribute value to apply "check all"/"uncheck all" * to all checkboxes with given idPrefix.