3ecfb8deb165083b0d3df5081aeb5dda2c4b6ff1 angie Mon Sep 24 10:53:38 2018 -0700 Libifying JS module autocompleteCat (autocomplete with optional category labels) from hgGateway. diff --git src/hg/hgGateway/hgGateway.c src/hg/hgGateway/hgGateway.c index 16a4d70..e809064 100644 --- src/hg/hgGateway/hgGateway.c +++ src/hg/hgGateway/hgGateway.c @@ -352,30 +352,31 @@ dyStringPrintf(dy, "window.surveyLabelImage=null;\n"); } dyStringPrintf(dy, "hgGateway.init();\n"); jsInline(dy->string); dyStringFree(&dy); jsIncludeFile("es5-shim.4.0.3.min.js", NULL); jsIncludeFile("es5-sham.4.0.3.min.js", NULL); jsIncludeFile("lodash.3.10.0.compat.min.js", NULL); jsIncludeFile("cart.js", NULL); webIncludeResourceFile("jquery-ui.css"); jsIncludeFile("jquery-ui.js", NULL); jsIncludeFile("jquery.watermarkinput.js", NULL); +jsIncludeFile("autocompleteCat.js",NULL); jsIncludeFile("utils.js",NULL); // Phylogenetic tree .js file, produced by dbDbTaxonomy.pl: char *defaultDbDbTree = webTimeStampedLinkToResource("dbDbTaxonomy.js", FALSE); char *dbDbTree = cfgOptionDefault("hgGateway.dbDbTaxonomy", defaultDbDbTree); if (isNotEmpty(dbDbTree)) printf("\n", dbDbTree); // Main JS for hgGateway: jsIncludeFile("hgGateway.js", NULL); webIncludeFile("inc/jWestFooter.html"); cartFlushHubWarnings();