src/hg/hgTracks/imageV2.c 1.28
1.28 2010/05/14 17:31:54 tdreszer
Got rid of imgOrd hidden inputs. This is set by ajax now.
Index: src/hg/hgTracks/imageV2.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/imageV2.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -B -U 4 -r1.27 -r1.28
--- src/hg/hgTracks/imageV2.c 11 May 2010 01:43:27 -0000 1.27
+++ src/hg/hgTracks/imageV2.c 14 May 2010 17:31:54 -0000 1.28
@@ -1593,10 +1593,10 @@
{
char *trackName = (imgTrack->name != NULL ? imgTrack->name : imgTrack->tdb->track );
//if(verbose && imgTrack->order == 3)
// imgTrackShow(NULL,imgTrack,0);
- hPrintf("<TR id='tr_%s'%s>\n",trackName,
- (imgTrack->reorderable?" class='trDraggable'":" class='nodrop nodrag'"));
+ hPrintf("<TR id='tr_%s' abbr='%d' class='imgOrd%s'>\n",trackName,imgTrack->order,
+ (imgTrack->reorderable?" trDraggable":" nodrop nodrag"));
if(imgBox->showSideLabel && imgBox->plusStrand)
{
// button
@@ -1613,9 +1613,8 @@
}
// Main/Data image region
hPrintf(" <TD id='td_data_%s' width=%d class='tdData'>\n", trackName, imgBox->width);
- hPrintf(" <input TYPE=HIDDEN name='%s_%s' value='%d'>\n",trackName,IMG_ORDER_VAR,imgTrack->order);
// centerLabel
if(imgTrack->showCenterLabel)
{
safef(name, sizeof(name), "center_%s", trackName);