982640144e463466b4bb6f2f160c87f3118775ac chmalee Tue Aug 20 09:50:22 2024 -0700 Upgrade to jquery version to 1.12.4, add jquery migrate for 1.5 to 1.12 conversion diff --git src/hg/lib/cart.c src/hg/lib/cart.c index 4857e99..4b998ec 100644 --- src/hg/lib/cart.c +++ src/hg/lib/cart.c @@ -2612,30 +2612,31 @@ /* Write HTML header and put in normal error handler. */ { pushWarnHandler(htmlVaWarn); htmStart(stdout, title); didCartHtmlStart = TRUE; } static void cartVaWebStartMaybeHeader(struct cart *cart, char *db, boolean withHttpHeader, char *format, va_list args) /* Print out optional Content-Type and pretty wrapper around things when working from cart. */ { pushWarnHandler(htmlVaWarn); webStartWrapper(cart, trackHubSkipHubName(db), format, args, withHttpHeader, FALSE); inWeb = TRUE; jsIncludeFile("jquery.js", NULL); +jsIncludeFile("jquery-migrate-1.4.1.js", NULL); jsIncludeFile("utils.js", NULL); jsIncludeFile("ajax.js", NULL); } void cartVaWebStart(struct cart *cart, char *db, char *format, va_list args) /* Print out pretty wrapper around things when working * from cart. */ { cartVaWebStartMaybeHeader(cart, db, FALSE, format, args); } void cartWebStart(struct cart *cart, char *db, char *format, ...) /* Print out pretty wrapper around things when working * from cart. */ {