5b1c8acf2b548dfdd06bbd45c02f2b61427e9aad tdreszer Wed Jan 19 17:29:45 2011 -0800 Fix for redmine 2040 note 17. Some track lists would not respond properly to List subtracks selected v. all radio button. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index a61a4c4..0f306a8 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -3906,39 +3906,40 @@ } else makeTopLink(parentTdb); // Now we can start in on the table of subtracks It may be sortable and/or dragAndDroppable printf("\n 0) dyStringAppendC(dyHtml,' '); dyStringPrintf(dyHtml, "tableWithDragAndDrop"); } +printf(" class='subtracks"); if (dyStringLen(dyHtml) > 0) { - printf(" class='subtracks bglevel1 %s'",dyStringContents(dyHtml)); + printf(" bglevel1 %s'",dyStringContents(dyHtml)); colorIx = COLOR_BG_ALTDEFAULT_IX; } if (sortOrder != NULL) - puts(">"); + puts("'>"); else - puts(">"); + puts("'>"); boolean doColorPatch = trackDbSettingOn(parentTdb, "showSubtrackColorOnUi"); int colspan = 3; if (sortOrder != NULL) colspan = sortOrder->count+2; if (doColorPatch) colspan += 1; int columnCount = 0; if (sortOrder != NULL) printf("\n",useDragAndDrop?" nodrop nodrag":""); else { printf("",useDragAndDrop?" id='noDrag' class='nodrop nodrag'":""); // First table row contains the display "selected/visible" or "all" radio buttons // NOTE: list subtrack radio buttons are inside tracklist table header if there are no sort columns