6925dfc572306b7e65f3104ebd232f62ca7f11d5 larrym Wed Oct 19 12:27:48 2011 -0700 remove use of advancedJavascriptFeaturesEnabled config (see redmine #5283); remove NEW_JQUERY cruft diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index f09c1ab..df075e4 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -2516,36 +2516,33 @@ if(theImgBox) { // Set imgTrack in case any map items will be set sliceHeight = trackPlusLabelHeight(track, fontHeight); sliceOffsetY = y; curImgTrack = imgBoxTrackFind(theImgBox,track->tdb,NULL); } y = doTrackMap(track, hvg, y, fontHeight, trackPastTabX, trackPastTabWidth); } } /* Finish map. */ hPrintf("\n"); jsonHashAddBoolean(jsonForClient, "dragSelection", dragZooming); -jsonHashAddBoolean(jsonForClient, "inPlaceUpdate", IN_PLACE_UPDATE && advancedJavascriptFeaturesEnabled(cart)); +jsonHashAddBoolean(jsonForClient, "inPlaceUpdate", IN_PLACE_UPDATE); -if(rulerClickHeight) - { jsonHashAddNumber(jsonForClient, "rulerClickHeight", rulerClickHeight); - } if(newWinWidth) { jsonHashAddNumber(jsonForClient, "newWinWidth", newWinWidth); } /* Save out picture and tell html file about it. */ if(hvgSide != hvg) hvGfxClose(&hvgSide); hvGfxClose(&hvg); #ifdef SUPPORT_CONTENT_TYPE char *type = cartUsualString(cart, "hgt.contentType", "html"); if(sameString(type, "jsonp")) { struct jsonHashElement *json = newJsonHash(newHash(8)); @@ -4674,35 +4671,31 @@ if (psOutput != NULL) { hPrintDisable(); hideControls = TRUE; withNextItemArrows = FALSE; withNextExonArrows = FALSE; hgFindMatches = NULL; } /* Tell browser where to go when they click on image. */ hPrintf("