6bf5dc7ee0aeeb56575bc7dde7ec21aebf96a758
tdreszer
  Fri Aug 5 17:49:17 2011 -0700
In dragScroll, removed hgc link in left label on item in 'full' if that item doesn't have a name.  Otherwise, what are you hgc'ing?
diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c
index 7aba6a4..75d3a6c 100644
--- src/hg/hgTracks/imageV2.c
+++ src/hg/hgTracks/imageV2.c
@@ -1705,31 +1705,33 @@
     // Problem: dragScroll beyond left shows ugly leftLabel!
     // Tried clip:rect() but this only works with position:absolute!
     // May need to split image betweeen side label and data!!! That is a big change.
 
     if(useMap)
         hPrintf(" usemap='#map_%s'",name);
     hPrintf(" class='sliceImg %s",sliceTypeToClass(slice->type));
     if(slice->type==stData && imgBox->showPortal)
         hPrintf(" panImg'");
     else
         hPrintf("'");
     if(slice->title != NULL)
         hPrintf(" title='%s'", htmlEncode(slice->title) );           // Adds slice wide title
     else if(slice->parentImg->title != NULL)
         hPrintf("' title='%s'", htmlEncode(slice->parentImg->title) );// Adds image wide title
-    hPrintf(" ondrag='{return false;}'>");
+    if(slice->type==stData || slice->type==stCenter)
+        hPrintf(" ondrag='{return false;}'");
+    hPrintf(">");
     }
 else
     {
     int height = slice->height;
     // Adjustment for centerLabel Conditional
     if (imgTrack->centerLabelSeen == clNotSeen
     &&  (slice->type == stSide || slice->type == stButton))
         {
         struct imgSlice *centerSlice = imgTrackSliceGetByType(imgTrack,stCenter);
         if (centerSlice != NULL)
             height -= centerSlice->height;
         }
     hPrintf("  <p id='p_%s' style='height:%dpx;",name,height);
     if(slice->type==stButton)
         {