63ff9b511858f8e7a3477d1d84260b896233337c
tdreszer
Tue Apr 5 16:20:53 2011 -0700
Missed a few more references in changing searchTracks.h to search.h
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index eee9600..7c5a96a 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -42,31 +42,31 @@
#include "customTrack.h"
#include "trackHub.h"
#include "hubConnect.h"
#include "cytoBand.h"
#include "ensFace.h"
#include "liftOver.h"
#include "pcrResult.h"
#include "wikiLink.h"
#include "jsHelper.h"
#include "mafTrack.h"
#include "hgConfig.h"
#include "encode.h"
#include "agpFrag.h"
#include "imageV2.h"
#include "suggest.h"
-#include "searchTracks.h"
+#include "search.h"
#include "errCatch.h"
static char const rcsid[] = "$Id: doMiddle.c,v 1.1651 2010/06/11 17:53:06 larrym Exp $";
/* These variables persist from one incarnation of this program to the
* next - living mostly in the cart. */
boolean baseShowPos; /* TRUE if should display full position at top of base track */
boolean baseShowAsm; /* TRUE if should display assembly info at top of base track */
boolean baseShowScaleBar; /* TRUE if should display scale bar at very top of base track */
boolean baseShowRuler; /* TRUE if should display the basic ruler in the base track (default) */
char *baseTitle = NULL; /* Title it should display top of base track (optional)*/
static char *userSeqString = NULL; /* User sequence .fa/.psl file. */
/* These variables are set by getPositionFromCustomTracks() at the very
* beginning of tracksDisplay(), and then used by loadCustomTracks(). */
@@ -4617,34 +4617,31 @@
char *survey = cfgOptionEnv("HGDB_SURVEY", "survey");
char *surveyLabel = cfgOptionEnv("HGDB_SURVEY_LABEL", "surveyLabel");
char *javascript = "onchange=\"document.location = '/cgi-bin/hgTracks?db=' + document.TrackForm.db.options[document.TrackForm.db.selectedIndex].value;\"";
if (containsStringNoCase(database, "zoo"))
{
hPuts("Organism ");
printAssemblyListHtmlExtra(database, javascript);
}
sprintf(buf, "%s:%d-%d", chromName, winStart+1, winEnd);
position = cloneString(buf);
hWrites("position/search ");
hTextVar("position", addCommasToPos(database, position), 30);
sprintLongWithCommas(buf, winEnd - winStart);
if(dragZooming && assemblySupportsGeneSuggest(database))
- hPrintf(" gene "
- "\n"
- "\n", assemblyGeneSuggestTrack(database)
- );
+ hWrites(" gene \n");
hWrites(" ");
hButtonWithOnClick("hgt.jump", "jump", NULL, "jumpButtonOnClick()");
hOnClickButton(clearButtonJavascript,"clear");
hPrintf(" size %s bp. ", buf);
hWrites(" ");
hButton("hgTracksConfigPage", "configure");
//hPrintf(" Your feedback\n");
if (survey && differentWord(survey, "off"))
hPrintf(" %s\n", survey, surveyLabel ? surveyLabel : "Take survey");
// info for drag selection javascript
hPrintf("\n", winStart);
hPrintf("\n", winEnd);
hPrintf("\n", chromName);
hPutc('\n');