722dfea3a5bfa3ac36d8234e6698495a2a7a6cac angie Tue Jan 31 12:36:01 2017 -0800 Both Hiram and Matt got stale hgGateway.js in their browser caches somehow -- we do still need to use the timestamped symlinks for JS files. :( diff --git src/hg/hgGateway/hgGateway.c src/hg/hgGateway/hgGateway.c index f53e749..7fe472a 100644 --- src/hg/hgGateway/hgGateway.c +++ src/hg/hgGateway/hgGateway.c @@ -363,31 +363,31 @@ puts("<script src=\"../js/es5-sham.4.0.3.min.js\"></script>"); puts("<script src=\"../js/lodash.3.10.0.compat.min.js\"></script>"); puts("<script src=\"../js/cart.js\"></script>"); webIncludeResourceFile("jquery-ui.css"); jsIncludeFile("jquery-ui.js", NULL); jsIncludeFile("jquery.watermarkinput.js", NULL); jsIncludeFile("utils.js",NULL); // Phylogenetic tree .js file, produced by dbDbTaxonomy.pl: char *dbDbTree = cfgOptionDefault("hgGateway.dbDbTaxonomy", "../js/dbDbTaxonomy.js"); if (isNotEmpty(dbDbTree)) printf("<script src=\"%s\"></script>\n", dbDbTree); // Main JS for hgGateway: -puts("<script src=\"../js/hgGateway.js\"></script>"); +jsIncludeFile("hgGateway.js", NULL); webIncludeFile("inc/jWestFooter.html"); cartFlushHubWarnings(); webEndJWest(); } void doMiddle(struct cart *theCart) /* Depending on invocation, either perform a query and print out results * or display the main page. */ { cart = theCart; if (cgiOptionalString(CARTJSON_COMMAND)) doCartJson();