f1727194fc4466623851f6bd4e98b9512ac9fff2 larrym Tue Apr 17 14:16:55 2012 -0700 be more conservative with inPlaceUpdate - turns out tracks can appear/disappear with just center labels turned off (see #6944) diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 2406553..231a287 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -2515,32 +2515,32 @@ { 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("</MAP>\n"); -// turn off inPlaceUpdate when rows in imgTbl can arbitrarily reappear and disappear (see redmine #7306) -jsonHashAddBoolean(jsonForClient, "inPlaceUpdate", withLeftLabels || withCenterLabels); +// turn off inPlaceUpdate when rows in imgTbl can arbitrarily reappear and disappear (see redmine #7306 and #6944) +jsonHashAddBoolean(jsonForClient, "inPlaceUpdate", withLeftLabels && withCenterLabels); 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")) {