3fc4985e0565e8d601746484ed273cf353467a60 tdreszer Wed Jul 28 13:59:53 2010 -0700 Finally got dragReorder row highlighting working diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index 57f13f5..efc4b1c 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -1518,14 +1518,15 @@ hPrintf(" link); if (slice->title != NULL) { + if (imgTrack->reorderable && sliceType == stButton) + { char *newLine = " "; if (cgiClientBrowser(NULL,NULL,NULL) == btFF) newLine = " - "; // FF does not support newline code! - - if (imgTrack->reorderable && sliceType == stButton) hPrintf(" TITLE='Click for:%s%s%s(drag to reorder)'", newLine,htmlEncode(slice->title),newLine ); + } else - hPrintf(" TITLE='Click for:%s%s'", newLine,htmlEncode(slice->title) ); + hPrintf(" TITLE='Click for: %s'", htmlEncode(slice->title) ); } hPrintf(">\n" ); } @@ -1560,7 +1561,7 @@ #endif//def IMAGEv2_DRAG_REORDER hPrintf("