29621ad38b4b62e7807e84269fd198ca3dd9173c larrym Wed Mar 23 15:10:17 2011 -0700 some more NEW_JQUERY stuff - dead code all trees unless explicitly turned on (redmine 2813) diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index 108b342..a26071d 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -9,30 +9,32 @@ * 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 <regex.h> #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. */