4ce8707b784cb61309e09d1da3f7c3ef283064d1 tdreszer Mon Sep 13 10:49:30 2010 -0700 Right click view image must use regen a non-imageV2 image, due to conditional centerLabels in imageV2, among other things. diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index ce802a6..be9fed8 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -2514,7 +2514,7 @@ else { char *titleAttr = dragZooming ? "title='click or drag mouse in base position track to zoom in'" : ""; - hPrintf("<IMG SRC = \"%s\" BORDER=1 WIDTH=%d HEIGHT=%d USEMAP=#%s %s id='trackMap'", + hPrintf("<IMG SRC='%s' BORDER=1 WIDTH=%d HEIGHT=%d USEMAP=#%s %s id='trackMap'", gifTn.forHtml, pixWidth, pixHeight, mapName, titleAttr); hPrintf("><BR>\n"); } @@ -4318,7 +4318,7 @@ else if (cgiVarExists("hgt.prevItem")) doNextPrevItem(FALSE, cgiUsualString("hgt.prevItem", NULL)); -if(advancedJavascriptFeaturesEnabled(cart) && !psOutput) +if(advancedJavascriptFeaturesEnabled(cart) && !psOutput && !cgiVarExists("hgt.imageV1")) { // Start an imagebox (global for now to avoid huge rewrite of hgTracks) // Set up imgBox dimensions