65bf003397e55927776facd7654de161ea8c1e20
lrnassar
Fri Jan 30 15:59:33 2026 -0800
Downloading our major CDNs and changing their references to all be local, there are some more corner cases that were low priority as discussed in the ticket. This work is done to improve performance, expecially for overseas users. Refs #33998
diff --git src/hg/hgHubConnect/trackHubWizard.c src/hg/hgHubConnect/trackHubWizard.c
index eadfac22803..3a639f661b9 100644
--- src/hg/hgHubConnect/trackHubWizard.c
+++ src/hg/hgHubConnect/trackHubWizard.c
@@ -188,43 +188,37 @@
void getHubSpaceUIState(struct cartJson *cj, struct hash *paramHash)
/* Get all the data we need to make a users hubSpace UI table. The cartJson library
* deals with printing the json */
{
outUiDataForUser(cj->jw);
}
void doTrackHubWizard(char *database)
/* Offer an upload form so users can upload all their hub files */
{
jsIncludeFile("utils.js", NULL);
jsIncludeFile("ajax.js", NULL);
jsIncludeFile("lodash.3.10.0.compat.min.js", NULL);
jsIncludeFile("cart.js", NULL);
jsIncludeFile("autocompleteCat.js",NULL);
-puts("\n");
-puts("\n");
-puts("");
-puts("\n");
-puts("");
-puts("\n");
-puts("");
+webIncludeResourceFile("font-awesome.min.css");
+webIncludeResourceFile("dataTables-2.2.2.min.css");
+jsIncludeFile("dataTables-2.2.2.min.js", NULL);
+webIncludeResourceFile("dataTables.buttons-3.2.2.min.css");
+jsIncludeFile("dataTables.buttons-3.2.2.min.js", NULL);
+webIncludeResourceFile("dataTables.select-3.0.0.min.css");
+jsIncludeFile("dataTables.select-3.0.0.min.js", NULL);
puts("");
puts("");
jsIncludeFile("hgMyData.js", NULL);
// the skeleton HTML:
webIncludeFile("inc/hgMyData.html");
webIncludeResourceFile("hgMyData.css");
jsInlineF("\nvar isLoggedIn = %s;\n", getUserName() ? "true" : "false");
jsInlineF("\nvar cartDb=\"%s %s\";\n", trackHubSkipHubName(hGenome(database)), database);
jsInlineF("\nvar tusdEndpoint=\"%s\";\n", cfgOptionDefault("hubSpaceTusdEndpoint", NULL));
jsInlineF("\nvar fileListEndpoint=\"%shgHubConnect\";\n", hLoginHostCgiBinUrl());
jsInlineF("\nvar loginHost=\"http%s://%s\";\n", loginUseHttps() ? "s" : "", wikiLinkHost());
jsInline("$(document).ready(function() {\nhubCreate.init();\n})");
puts("");