Commit 34f0dffc authored by Marc Duez's avatar Marc Duez
Browse files

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

parent 7e49fb01
...@@ -93,7 +93,7 @@ function imgtPost(data, system) { ...@@ -93,7 +93,7 @@ function imgtPost(data, system) {
if (system[0] == "T") { if (system[0] == "T") {
imgtInput["l01p01c04"] = "TR"; imgtInput["l01p01c04"] = "TR";
} }
var form = document.getElementById("form"); var form = document.createElement("form");
form.innerHTML = ""; form.innerHTML = "";
form.target = "_blank"; form.target = "_blank";
form.action = "http://www.imgt.org/IMGT_vquest/vquest"; form.action = "http://www.imgt.org/IMGT_vquest/vquest";
...@@ -126,7 +126,7 @@ function igBlastPost(data, system) { ...@@ -126,7 +126,7 @@ function igBlastPost(data, system) {
} }
var form = document.getElementById("form"); var form = document.createElement("form");
form.innerHTML = ""; form.innerHTML = "";
form.target = "_blank"; form.target = "_blank";
form.action = "http://www.ncbi.nlm.nih.gov/igblast/igblast.cgi"; 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