6f3b93637128355540fa3ba6c0774db93d87d39b kate Fri Jan 11 10:12:06 2013 -0800 Fix problem introduced by #9328. #9944 hgFileUi track description appears twice diff --git src/hg/hgFileUi/hgFileUi.c src/hg/hgFileUi/hgFileUi.c index 0623946..2a65fbe 100644 --- src/hg/hgFileUi/hgFileUi.c +++ src/hg/hgFileUi/hgFileUi.c @@ -110,32 +110,30 @@ printf("<HR ALIGN='bottom' style='position:relative; top:1em;'>"); printf("<table class='windowSize'><tr valign='top'><td rowspan=2>"); puts("<A NAME='TRACK_HTML'></A>"); // include anchor for Description link // Add pennantIcon printPennantIconNote(tdb); char *html = tdb->html; if (trackDbSetting(tdb, "wgEncode")) { // add anchor to Credits section of ENCODE HTML page so contacts are easily found (on top menu) html = replaceChars(tdb->html, "2>Credits", "2></H2><A NAME='TRACK_CREDITS'></A>\n<H2>Credits</H2>"); } puts(html); - - puts(tdb->html); printf("</td><td nowrap>"); cgiDown(0.7); // positions top link below line makeTopLink(tdb); printf(" </td></tr><tr valign='bottom'><td nowrap>"); makeTopLink(tdb); printf(" </td></tr></table>"); } } void doMiddle(struct cart *cart) /* Write body of web page. */ { struct trackDb *tdb = NULL; char *track; char *ignored;