2c925794c53b18f05b37e8f1ff2b0493b440289f galt Thu Dec 4 13:12:34 2014 -0800 Fixes #14173. Enables more sophisticated link to table browser from hgGene, hgc, and hgTrackUi, if the table exists and is not a custom track, then hgTables will launch with the table automatically selected. We are really just restoring functionality that we used to have -- and which got nuked when we were simplifying and unifying our menus and adding submenus a few years ago. diff --git src/hg/inc/web.h src/hg/inc/web.h index b149547..8828090 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -289,19 +289,19 @@ // NOTE: png, jpg and gif should also be supported but are untested. boolean webIncludeResourcePrintToFile(FILE * toFile, char *fileName); // Converts fileName to web Resource link and prints the html reference // This only prints and returns TRUE on first call for this resource. // Passing in NULL as the file pointer results in hPrintf call // The reference will be to a link with timestamp. #define webIncludeResourceFile(fileName) webIncludeResourcePrintToFile(NULL,fileName) void lazarusLives(unsigned long newExpireSeconds); /* Long running process requests more time */ void setContextSpecificHelp(char *link, char *label); // Override default behavior for the context specific help link -char *menuBar(struct cart *cart); +char *menuBar(struct cart *cart, char *db); // return HTML for the menu bar (read from a configuration file). #endif /* WEB_H */