ee28d7177e4cf3d6eae7bbf636e3ddc7f429adda chmalee Fri Jan 10 15:47:26 2025 -0800 Make sure jquery is explicitly included in iframes, refs #35018 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 5a8e3f3..f4a8d11 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -1529,30 +1529,31 @@ { const struct hubConnectStatus *a = *((struct hubConnectStatus **)va); const struct hubConnectStatus *b = *((struct hubConnectStatus **)vb); struct trackHub *ta = a->trackHub; struct trackHub *tb = b->trackHub; if ((ta == NULL) || (tb == NULL)) return 0; return strcasecmp(tb->shortLabel, ta->shortLabel); } void printIncludes() /* print the CSS and javascript include lines */ { +jsIncludeFile("jquery.js", NULL); printf( "\n" "\n" "\n" ); jsIncludeFile("utils.js", NULL); jsIncludeFile("jquery-ui.js", NULL); webIncludeResourceFile("jquery-ui.css"); jsIncludeFile("ajax.js", NULL); jsIncludeFile("hgHubConnect.js", NULL); webIncludeResourceFile("hgHubConnect.css"); jsIncludeFile("jquery.cookie.js", NULL); jsIncludeFile("spectrum.min.js", NULL); // there is no color picker used anywhere on this page. why include this? }