dd18234755c357c71093aff59a8ec8185e0851be chmalee Wed Oct 30 11:53:12 2019 -0700 Closing a div that I forgot to close so the footer gets out of the table of public hubs, found by Dan diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 1860562..6f8ea92 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -419,31 +419,31 @@ } else { printf("<input name=\"validateText\" id=\"validateHubUrl\" class=\"hubField\" " "type=\"text\" size=\"65\"> \n"); } printf("<input name=\"hubValidateButton\" id='hubValidateButton' " "class=\"hubField\" type=\"button\" value=\"Validate Hub\">\n" "</th> \n" "</tr> \n"); if (hubUrl == NULL) printf("<tr><td>Enter URL to hub to check settings</td></tr> \n"); else doValidateNewHub(hubUrl); -printf("</table>"); +printf("</table></div>"); jsOnEventById("click", "hubValidateButton", "var validateText = document.getElementById('validateHubUrl');" "validateText.value=$.trim(validateText.value);" "if(validateUrl($('#validateHubUrl').val())) { " " document.validateHubForm.elements['validateHubUrl'].value=validateText.value;" " document.validateHubForm.submit(); return true; }" "else { return false; }" ); } static void addPublicHubsToHubStatus(struct sqlConnection *conn, char *publicTable, char *statusTable) /* Add urls in the hubPublic table to the hubStatus table if they aren't there already */ { char query[1024];