29179bd78a99f965fd88c46606d9d9af98aa9431 chmalee Tue Sep 1 15:24:26 2026 -0700 Delete stray formMethod value in hgLiftover form, refs #38223 diff --git src/hg/hgLiftOver/hgLiftOver.c src/hg/hgLiftOver/hgLiftOver.c index 7e09db2c00a..a9f69470118 100644 --- src/hg/hgLiftOver/hgLiftOver.c +++ src/hg/hgLiftOver/hgLiftOver.c @@ -86,31 +86,30 @@ "<a href=\"../../contacts.html\">contact us</a>." ""); /* create HMTL form */ puts("<FORM ACTION=\"../cgi-bin/hgLiftOver\" METHOD=\"POST\" " " ENCTYPE=\"multipart/form-data\" NAME=\"mainForm\">\n"); cartSaveSession(cart); /* create HTML table for layout purposes */ puts("\n<TABLE WIDTH=\"100%\">\n"); printf("<TR>\n"); jsIncludeAutoCompleteLibs(); char *searchBarId = "fromGenomeSearch"; printf("<input name='%s' value='%s' type='hidden'></input>\n", HGLFT_FROMDB_VAR, chain->fromDb); printf("<input name='%s' value='%s' type='hidden'></input>\n", HGLFT_FROMORG_VAR, fromOrg); -printf("<input name='formMethod' value='GET' type='hidden'></input>\n"); printf("<TD class='searchCell'>\n"); printGenomeSearchBar(searchBarId, "Search any species, genome or assembly name", NULL, TRUE, "Change original genome:", NULL); jsInlineF( "setupGenomeSearchBar({\n" " inputId: '%s',\n" " labelElementId: 'fromGenomeLabel',\n" " apiUrl: 'hubApi/findGenome?browser=mustExist&liftable=true&q=',\n" " onSelect: function(item) {\n" " document.mainForm."HGLFT_REFRESHONLY_VAR".value=1;\n" " document.mainForm."HGLFT_FROMDB_VAR".value=item.genome;\n" " document.mainForm."HGLFT_FROMORG_VAR".value=item.commonName.split('(')[0].trim();\n" " document.mainForm.submit();\n" " }\n" "});\n" , searchBarId