6e2f467db51f5b7c6827a5e8189d1e0ecb4c8a7f
larrym
  Wed Oct 19 12:30:33 2011 -0700
remove use of advancedJavascriptFeaturesEnabled config (see redmine #5283)
diff --git src/hg/lib/search.c src/hg/lib/search.c
index 18e3b7b..5ac30ea 100644
--- src/hg/lib/search.c
+++ src/hg/lib/search.c
@@ -9,33 +9,30 @@
 #include "mdb.h"
 #include "subText.h"
 #include "jsHelper.h"
 
 void getSearchTrixFile(char *database, char *buf, int len)
 // Fill-in the name of the track search trix file
 {
 char *trixPath = cfgOptionDefault("browser.trixPath", "/gbdb/$db/trackDb.ix");
 struct subText *subList = subTextNew("$db", database);
 subTextStatic(subList, trixPath, buf, len);
 }
 
 boolean isSearchTracksSupported(char *database, struct cart *cart)
 // Return TRUE if searchTracks is supported for this database and javascript is supported too
 {
-if (!advancedJavascriptFeaturesEnabled(cart))
-    return FALSE;
-
 char trixFile[HDB_MAX_PATH_STRING];
 getSearchTrixFile(database, trixFile, sizeof(trixFile));
 return fileExists(trixFile);
 }
 
 struct slPair *fileFormatSearchWhiteList()
 // Gets the whitelist of approved file formats that is allowed for search
 {
 char *crudeTypes[] = {
     "bam",  //    "bam.bai" is now alway selected with bam,
     "tagAlign",
     "bed.gz",
     "bigBed",
     "broadPeak",
     "narrowPeak",