80734761c153225c6a86b59149bbf75a9504ed11 tdreszer Wed Nov 16 11:35:06 2011 -0800 Getting rid of the last vestiges of NEW_JQUERY ifdef. diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index 44ead19..a77f505 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -9,32 +9,30 @@ * hiddenForm. The hiddenForm maintains echo's of all the variables * in the main form, which get updated onChange of controls that need * to 'ripple' to other controls. The onChange also submits the * control. */ #ifndef JSHELPER_H #define JSHELPER_H #include "cart.h" #include #define JS_CLEAR_ALL_BUTTON_LABEL "Clear all" #define JS_SET_ALL_BUTTON_LABEL "Set all" #define JS_DEFAULTS_BUTTON_LABEL "Set defaults" -#define NEW_JQUERY 1 // temporary define turn on to test new jQuery (1.5) and jQuery UI (1.8) - void jsCreateHiddenForm(struct cart *cart, char *scriptName, char **vars, int varCount); /* Create a hidden form with the given variables. Must be * called. */ void jsInit(); /* If this is the first call, set window.onload to the operations * performed upon loading a page and print supporting javascript. * Currently this just sets the page vertical position if specified on * CGI, and also calls jsWriteFunctions. * Subsequent calls do nothing, so this can be called many times. */ void jsWriteFunctions(); /* Write out Javascript functions. */