f2d1894856530de1dac14d0c70f058091457cf9d tdreszer Tue Jun 21 15:46:05 2011 -0700 This define definitely needs to be on, and checked in to this branch, as I just spent 1/2 an hour trying to figure out why the branch wasn't building properly. diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index a26071d..bea9420 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -9,31 +9,31 @@ * 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) +#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. */