d9059b90539b183bcdf43c896890d8d0cca60b39
tdreszer
  Tue Aug 17 17:30:32 2010 -0700
Changes for ajax=1 version of cfg dialog
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 5a84f05..2ac735d 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -5024,6 +5024,7 @@
 char *words[MAX_SP_SIZE];
 int defaultOffSpeciesCnt = 0;
 
+if(cartOptionalString(cart, "ajax") == NULL)
 jsIncludeFile("utils.js",NULL);
 //jsInit();
 puts("\n<P><B>Species selection:</B>&nbsp;");
@@ -6416,14 +6417,16 @@
 boolean isMatrix = dimensionsExist(tdb);
 boolean viewsOnly = FALSE;
 
+if(cartOptionalString(cart, "ajax") == NULL)
+    {
 if(trackDbSetting(tdb, "dragAndDrop") != NULL)
     jsIncludeFile("jquery.tablednd.js", NULL);
-jsIncludeFile("hui.js",NULL);
 jsIncludeFile("ajax.js",NULL);
 #ifdef TABLE_SCROLL
 jsIncludeFile("jquery.fixedtable.js",NULL);
 #endif//def TABLE_SCROLL
-
+    }
+jsIncludeFile("hui.js",NULL);
 
 puts("<P>");
 if (trackDbCountDescendantLeaves(tdb) < MANY_SUBTRACKS && !hasSubgroups)