src/hg/lib/cart.c 1.120

1.120 2010/05/20 03:15:51 kent
Making cartWebStart included jquery.js and utils.js. The function that does this already gaurds against multiple inclusion, so this should work.
Index: src/hg/lib/cart.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/cart.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -b -B -U 4 -r1.119 -r1.120
--- src/hg/lib/cart.c	11 May 2010 01:43:29 -0000	1.119
+++ src/hg/lib/cart.c	20 May 2010 03:15:51 -0000	1.120
@@ -12,8 +12,9 @@
 #include "net.h"
 #include "web.h"
 #include "hdb.h"
 #include "jksql.h"
+#include "jsHelper.h"
 #include "trashDir.h"
 #ifndef GBROWSE
 #include "customFactory.h"
 #include "googleAnalytics.h"
@@ -1343,8 +1344,10 @@
 va_list args;
 va_start(args, format);
 cartVaWebStart(cart, db, format, args);
 va_end(args);
+jsIncludeFile("jquery.js", NULL);
+jsIncludeFile("utils.js", NULL);
 }
 
 void cartWebEnd()
 /* Write out HTML footer and get rid or error handler. */