f5bbbec6b28a726e61e197d9a13d7745333a28fe
max
Tue Jun 5 15:39:56 2012 -0700
bad bug in pubs details page screwed up table
diff --git src/hg/hgc/pubs.c src/hg/hgc/pubs.c
index 1baffc6..ccf6f9b 100644
--- src/hg/hgc/pubs.c
+++ src/hg/hgc/pubs.c
@@ -589,31 +589,31 @@
// only display this sequence if we're in the right section
if (clickedSeqs!=NULL && ((hashLookup(clickedSeqs, annotId)!=NULL) != isClickedSection)) {
foundSkippedRows = TRUE;
continue;
}
if (fasta)
printf(">%s
%s
", annotId, seq);
else
{
web2StartRow();
// column 1: type of file (main or supp)
if (showDesc)
- web2PrintCellS(fileDesc, "word-break:break-all");
+ web2PrintCellS("word-break:break-all", fileDesc);
// column 2: snippet
web2StartCellS("word-break:break-all");
printAddWbr(snippet, 40);
web2EndCell();
// optional debug info column
if (pubsDebug)
web2PrintCellF("article %s, file %s, seq %s, annotId %s", artId, fileId, seqId, annotId);
// column 3: print links to locations, only print this in the 2nd section
if (!isClickedSection && !pubsDebug)
{
// format: hg19/chr1:300-400,mm9/chr1:60006-23234
// split on "," then split on "/"