eb2bb727094a703f6665d4220762c707530b873f
angie
  Mon Jul 8 14:04:21 2013 -0700
Fixing some broken HTML and JS in hgVai and hgTables when the position/search term can't be found.  refs 6152 10964
diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c
index 57538a2..04cab19 100644
--- src/hg/lib/hgFind.c
+++ src/hg/lib/hgFind.c
@@ -2553,31 +2553,31 @@
 		 FALSE, "hgTracks");
 }
 
 struct hgPositions *findGenomePosWeb(char *db, char *spec, char **retChromName, 
 	int *retWinStart, int *retWinEnd, struct cart *cart,
 	boolean useWeb, char *hgAppName)
 /* Search for positions in genome that match user query.   
  * Use the web library to print out HTML headers if necessary, and use 
  * hgAppName when forming URLs (instead of "hgTracks").  
  * Return an hgp if the query results in a unique position.  
  * Otherwise display list of positions, put # of positions in retWinStart,
  * and return NULL. */
 {
 struct hgPositions *hgp;
 if (useWeb)
-    webPushErrHandlersCart(cart);
+    webPushErrHandlersCartDb(cart, db);
 hgp = genomePos(db, spec, retChromName, retWinStart, retWinEnd, cart, TRUE,
 		useWeb, hgAppName);
 if (useWeb)
     webPopErrHandlers();
 return hgp;
 }
 
 #if 0 /* not used */
 static void noRelative(boolean relativeFlag, int relStart, int relEnd,
 		       char *table)
 {
 if (relativeFlag)
     hUserAbort("Sorry, range spec (\":%d-%d\") is not supported for %s.",
 	     relStart+1, relEnd, table);