6e2f467db51f5b7c6827a5e8189d1e0ecb4c8a7f
larrym
  Wed Oct 19 12:30:33 2011 -0700
remove use of advancedJavascriptFeaturesEnabled config (see redmine #5283)
diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h
index a121759..25858c9 100644
--- src/hg/inc/jsHelper.h
+++ src/hg/inc/jsHelper.h
@@ -117,33 +117,30 @@
 /* Make submit button which uses javascript to apply check all or uncheck all to all
  * checkboxes with given idPrefix.
  * state parameter determines whether to "check all" or "uncheck all" (TRUE means "check all"). 
  * id parameter may be NULL */
 
 char *jsStripJavascript(char *str);
 /* Strip out anything that looks like javascript in html string.
    This function is designed to cleanup user input (e.g. to avoid XSS attacks).
    Returned string should be free'ed after use. */
 
 char *stripRegEx(char *str, char *regEx, int flags);
 /* Strip out text matching regEx from str.
    flags is passed through to regcomp as the cflags argument.
    Returned string should be free'ed after use. */
 
-boolean advancedJavascriptFeaturesEnabled(struct cart *cart);
-// Returns TRUE if advanced javascript features are currently enabled
-
 void jsBeginCollapsibleSection(struct cart *cart, char *track, char *section, char *sectionTitle,
 			       boolean isOpenDefault);
 /* Make the hidden input, collapse/expand button and <TR id=...> needed for utils.js's 
  * setTableRowVisibility().  Caller needs to have already created a <TABLE> and <FORM>. */
 
 void jsEndCollapsibleSection();
 /* End the collapsible <TR id=...>. */
 
 /* JSON Element code let's you build up a DOM like data structure in memory and then serialize it into
    html for communication with client side code.
  */
 
 // supported types
 
 typedef enum _jsonElementType