877d275fba2154784c6dd114641ad9ba7881a860
chmalee
  Thu May 16 10:18:51 2024 -0700
Close div when printing exported data hubs, refs #33700

diff --git src/hg/hgTracks/exportedDataHubs.c src/hg/hgTracks/exportedDataHubs.c
index e86444d..8fe0e63 100644
--- src/hg/hgTracks/exportedDataHubs.c
+++ src/hg/hgTracks/exportedDataHubs.c
@@ -29,17 +29,18 @@
 
 hPrintf("<div style='display:none;' id='exportedDataHubsPopup' title='Exported Data Hubs'>\n");
 struct sqlConnection *conn = hConnectCentral();
 char **row;
 char query[2048];
 sqlSafef(query, sizeof(query), "select x.id,q.id,x.db,x.label,x.description,x.path,q.path from quickLiftChain q,exportedDataHubs x where q.fromDb=x.db and q.toDb='%s' and x.label not like 'Private';", trackHubSkipHubName(db));
 
 hPrintf("<table style=\"border: 1px solid black\">\n");
 struct sqlResult *sr;
 sr = sqlGetResult(conn, query);
 while ((row = sqlNextRow(sr)) != NULL)
     {
     hPrintf("<tr><td>%s</td><td><A HREF=\"./hgTracks?quickLift.%s.%s=%s&%s=on&hgsid=%s\">%s</A></td><td>%s</td></tr>",row[2], row[0],trackHubSkipHubName(db), row[1], hgHubConnectRemakeTrackHub,cartSessionId(cart),  row[3],row[4]);
     }
 hPrintf("</table>\n");
+hPrintf("</div>\n");
 hDisconnectCentral(&conn);
 }