482e17639372073c44c32d26707a69b8132b3ba4 braney Fri Aug 5 18:05:55 2011 -0700 changes related to #4842 diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c index b4cb72d..d9191c3 100644 --- src/hg/hgTables/mainPage.c +++ src/hg/hgTables/mainPage.c @@ -5,30 +5,31 @@ #include "hash.h" #include "htmshell.h" #include "cheapcgi.h" #include "cart.h" #include "textOut.h" #include "jksql.h" #include "hdb.h" #include "web.h" #include "jsHelper.h" #include "hui.h" #include "hgColors.h" #include "trackDb.h" #include "grp.h" #include "hgTables.h" #include "joiner.h" +#include "hubConnect.h" static char const rcsid[] = "$Id: mainPage.c,v 1.154 2010/06/03 18:53:59 kent Exp $"; int trackDbCmpShortLabel(const void *va, const void *vb) /* Sort track by shortLabel. */ { const struct trackDb *a = *((struct trackDb **)va); const struct trackDb *b = *((struct trackDb **)vb); return strcmp(a->shortLabel, b->shortLabel); } static struct dyString *onChangeStart() /* Start up a javascript onChange command */ { struct dyString *dy = jsOnChangeStart(); @@ -986,30 +987,31 @@ /* Hidden form - for benefit of javascript. */ { static char *saveVars[] = { "clade", "org", "db", hgtaGroup, hgtaTrack, hgtaTable, hgtaRegionType, hgtaRange, hgtaOutputType, hgtaOutFileName}; jsCreateHiddenForm(cart, getScriptName(), saveVars, ArraySize(saveVars)); } /* Hidden form for jumping to custom tracks CGI. */ hPrintf("
", hgCustomName()); cartSaveSession(cart); hPrintf("
\n"); /* Hidden form for jumping to track hub manager CGI. */ hPrintf("
", hgHubConnectName()); +cgiMakeHiddenVar(hgHubConnectCgiDestUrl, "../cgi-bin/hgTables"); cartSaveSession(cart); hPrintf("
\n"); webNewSection("Using the Table Browser\n"); printMainHelp(); } void doMainPage(struct sqlConnection *conn) /* Put up the first page user sees. */ { htmlOpen("Table Browser"); mainPageAfterOpen(conn); htmlClose(); }