5e8e0ed53c05f2ef9b51ce897440bae308367f47 chmalee Wed Feb 9 14:45:54 2022 -0800 Add csv output option to table browser to support opening files in Excel, refs #27623. Also change the output filename message to hint that Excel can auto-recognize .csv extensions and behave appropriately. Lastly, fix output dropdown selection to properly warn on update when using GTF output option or a snp table. diff --git src/inc/cheapcgi.h src/inc/cheapcgi.h index 194ed88..6b63818 100644 --- src/inc/cheapcgi.h +++ src/inc/cheapcgi.h @@ -17,30 +17,33 @@ //============ javascript inline-separation routines =============== void jsInlineFinish(); /* finish outputting accumulated inline javascript */ void jsInline(char *javascript); /* Add text to output file or memory structure */ void jsInlineF(char *format, ...) /* Add javascript text to output file or memory structure */ #if defined(__GNUC__) __attribute__((format(printf, 1, 2))) #endif ; +void jsAddEventForId(char *eventName, char *idText, char *jsText); +/* Add js mapping for inline event, adding multiple events as needed */ + void jsOnEventById(char *event, char *idText, char *jsText); /* Add js mapping for inline event */ void jsOnEventByIdF(char *event, char *idText, char *format, ...) /* Add js mapping for inline event with printf formatting */ #if defined(__GNUC__) __attribute__((format(printf, 3, 4))) #endif ; void jsInlineReset(); /* used by genomeSpace to repeatedly output multiple pages to stdout */ //============ END of javascript inline-separation routines ===============