152ec1fcab421d8e4663191e9012fd28434537a3
kent
  Thu May 24 12:45:58 2012 -0700
Removing out of form input tag.
diff --git src/hg/lib/cart.c src/hg/lib/cart.c
index a714116..563f5ae 100644
--- src/hg/lib/cart.c
+++ src/hg/lib/cart.c
@@ -1473,37 +1473,30 @@
 webStartWrapper(cart, db, format, args, FALSE, FALSE);
 inWeb = TRUE;
 }
 
 void cartWebStart(struct cart *cart, char *db, char *format, ...)
 /* Print out pretty wrapper around things when working
  * from cart. */
 {
 va_list args;
 va_start(args, format);
 cartVaWebStart(cart, db, format, args);
 va_end(args);
 jsIncludeFile("jquery.js", NULL);
 jsIncludeFile("utils.js", NULL);
 jsIncludeFile("ajax.js", NULL);
-// WTF - variable outside of a form on almost every page we make below?
-// Tim put this in.  Talking with him it sounds like some pages might actually
-// depend on it.  Not removing it until we have a chance to test.  Best fix
-// might be to add it to cartSaveSession, though this would then no longer be
-// well named, and not all things have 'db.'  Arrr.  Probably best to remove
-// and test a bunch.
-cgiMakeHiddenVar("db", db);  
 }
 
 void cartWebEnd()
 /* Write out HTML footer and get rid or error handler. */
 {
 webEnd();
 popWarnHandler();
 }
 
 void cartFooter(void)
 /* Write out HTML footer, possibly with googleAnalytics too */
 {
 #ifndef GBROWSE
 googleAnalytics();	/* can't do this in htmlEnd	*/
 #endif /* GBROWSE */