9e887c3793344826a929f977256cf55306cbed16 braney Mon Jul 25 15:20:04 2011 -0700 fix a bug that Greg found. #4627 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 429525a..72c5281 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -55,61 +55,61 @@ static void hgHubConnectUnlisted() /* Put up the list of unlisted hubs and other controls for the page. */ { // put out the top of our page printf("
" " " " " " " - " "); + " "); // count up the number of unlisted hubs we currently have int count = 0; struct hubConnectStatus *hub, *hubList = hubConnectStatusListFromCartAll(cart); for(hub = hubList; hub; hub = hub->next) { if (isHubUnlisted(hub)) count++; } if (count == 0) { // nothing to see here printf( "" "
" " " "" "
No Track Hubs for this genome assembly
"); cgiMakeButton("Submit", "Return to Genome Browser"); - printf("
"); + printf(""); return; } // time to output the big table. First the header printf( " " "Display " "Hub Name " "Description " "URL " "Disconnect " - "\n"); + "\n"); // start first row printf(""); count = 0; for(hub = hubList; hub; hub = hub->next) { /* if the hub is public, then don't list it here */ if (!isHubUnlisted(hub)) continue; if (count) webPrintLinkTableNewRow(); // ends last row and starts a new one count++;