Commit 1cda3eb0 authored by Mathieu Giraud's avatar Mathieu Giraud

crossdomain.js, index.html: revert "remove use of "form" from index.html and...

crossdomain.js, index.html: revert "remove use of "form" from index.html and build it when it's necessary"

This reverts commit 34f0dffc, and a little more. .sendTo() was not working on Firefox.
parent 87a45552
......@@ -282,6 +282,7 @@
<div id="data-msg"></div>
</div>
<form id="form"></form>
</body>
......
......@@ -93,7 +93,7 @@ function imgtPost(data, system) {
if (system[0] == "T") {
imgtInput["l01p01c04"] = "TR";
}
var form = document.createElement("form");
var form = document.getElementById("form");
form.innerHTML = "";
form.target = "_blank";
form.action = "http://www.imgt.org/IMGT_vquest/vquest";
......@@ -126,7 +126,7 @@ function igBlastPost(data, system) {
}
var form = document.createElement("form");
var form = document.getElementById("form");
form.innerHTML = "";
form.target = "_blank";
form.action = "http://www.ncbi.nlm.nih.gov/igblast/igblast.cgi";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment