90d8c11d0c077d2d7843f07878e3e42469e82612 angie Fri Apr 27 15:53:57 2012 -0700 UI for #6152 (Variant Annotation Tool): position input is now searchedonblur and before we submit the page to execute a query, so that if a position is not found or has multiple matches, the user is returned to the UI to fix it. diff --git src/hg/inc/web.h src/hg/inc/web.h index b2c76fa..a143ba8 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -35,30 +35,33 @@ * quite a few options. Same as above without va_list args */ void webNewSection(char* format, ...); /* create a new section on the web page */ void webEnd(); /* output the footer of the HTML page */ void webEndSectionTables(); /* Finish with section tables (but don't do /BODY /HTML lik * webEnd does. */ void webVaWarn(char *format, va_list args); /* Warning handler that closes off web page. */ +boolean webGotWarnings(); +/* Return TRUE if webVaWarn has been called. */ + void webAbort(char* title, char* format, ...); /* an abort function that outputs a error page */ void printCladeListHtml(char *genome, char *onChangeText); /* Make an HTML select input listing the clades. */ void printGenomeListHtml(char *db, char *onChangeText); /* Prints to stdout the HTML to render a dropdown list containing * a list of the possible genomes to choose from. * param db - The database whose genome will be selected by default. * If NULL, no default selection. * param onChangeText - Optional (can be NULL) text to pass in any * onChange javascript. */