01e2a71f09eed41098b10ba2c2dfeb9eb9885bfb larrym Wed Mar 14 13:09:45 2012 -0700 disable in-place update when center and left labels are turned off (#7306) diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 8101b35..e8af220 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"); -jsonHashAddBoolean(jsonForClient, "inPlaceUpdate", IN_PLACE_UPDATE); - +// turn off inPlaceUpdate when rows in imgTbl can arbitrarily reappear and disappear (see redmine #7306) +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")) {