void doClearSubtrackMerge(struct sqlConnection *conn) /* Respond to click on clear subtrack merge. */ { cartRemovePrefix(cart, hgtaSubtrackMergePrefix); cartRemovePrefix(cart, hgtaNextSubtrackMergePrefix); doMainPage(conn); }
void doMiddle(struct cart *theCart) /* Depending on invocation, either perform a query and print out results * or display the main page. */ { cart = theCart; if (cgiOptionalString(CARTJSON_COMMAND)) doCartJson(); else doMainPage(); }
void doGetCustomTrackTb(struct sqlConnection *conn) /* Get Custom Track output (UI has already told us how). */ { boolean gotResults = doGetBedOrCt(conn, TRUE, FALSE, FALSE); if (gotResults) { flushCustomTracks(); initGroupsTracksTables(); doMainPage(conn, FALSE); } }
void doSubtrackMergeSubmit(struct sqlConnection *conn) /* Respond to submit on subtrack merge page. */ { copyCartVars(cart, nextVars, curVars, ArraySize(curVars)); doMainPage(conn); }
void doIntersectSubmit(struct sqlConnection *conn) /* Respond to submit on intersect page. */ { copyCartVars(cart, nextVars, curVars, ArraySize(curVars)); doMainPage(conn, FALSE); }
void doClearIntersect(struct sqlConnection *conn) /* Respond to click on clear intersection. */ { removeCartVars(cart, curVars, ArraySize(curVars)); doMainPage(conn, FALSE); }
void doClearFilter(struct sqlConnection *conn) /* Respond to click on clear filter. */ { removeFilterVars(); doMainPage(conn); }
void doFilterSubmit(struct sqlConnection *conn) /* Respond to submit on filters page. */ { cartSetString(cart, hgtaFilterTable, getDbTable(database, curTable)); doMainPage(conn); }