0f2b15b55316a468c710d89d7078ac6aa95a2bc8
angie
  Mon Jun 24 09:02:45 2013 -0700
Fixing problems with the way hgTables and hgVai handled failed position searches.fixes #10964, refs #6152

diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 66ccee6..ee44b4c 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -980,23 +980,24 @@
 /* Hidden form for jumping to custom tracks CGI. */
 hPrintf("<FORM ACTION='%s' NAME='customTrackForm'>", hgCustomName());
 cartSaveSession(cart);
 hPrintf("</FORM>\n");
 
 /* Hidden form for jumping to track hub manager CGI. */
 hPrintf("<FORM ACTION='%s' NAME='trackHubForm'>", hgHubConnectName());
 cgiMakeHiddenVar(hgHubConnectCgiDestUrl, "../cgi-bin/hgTables");
 cartSaveSession(cart);
 hPrintf("</FORM>\n");
 
 webNewSection("<A NAME=\"Help\"></A>Using the Table Browser\n");
 printMainHelp();
 }
 
-void doMainPage(struct sqlConnection *conn)
+void doMainPage(struct sqlConnection *conn, boolean webStarted)
 /* Put up the first page user sees. */
 {
+if (!webStarted)
 htmlOpen("Table Browser");
 mainPageAfterOpen(conn);
 htmlClose();
 }