fix interative url
This commit is contained in:
parent
f46a486c0f
commit
b0e1b3715d
|
@ -165,7 +165,7 @@ for (i = 0; i < coll.length; i++) {
|
||||||
var submit = document.getElementById("submit");
|
var submit = document.getElementById("submit");
|
||||||
submit.addEventListener("click", function() {
|
submit.addEventListener("click", function() {
|
||||||
const Http = new XMLHttpRequest();
|
const Http = new XMLHttpRequest();
|
||||||
const url='/submit/?name='+array.join(";");
|
const url='/submit/?name='+array.join("&name=");
|
||||||
Http.open("GET", url);
|
Http.open("GET", url);
|
||||||
Http.send();
|
Http.send();
|
||||||
alert("Now go back to your console")
|
alert("Now go back to your console")
|
||||||
|
|
|
@ -107,7 +107,7 @@ class hello:
|
||||||
class submit:
|
class submit:
|
||||||
def GET(self, _):
|
def GET(self, _):
|
||||||
global names
|
global names
|
||||||
names = [name.strip("root.") for name in web.input().name.split(";")]
|
names = [name.strip("root.") for name in web.input(name=[]).name]
|
||||||
app.stop()
|
app.stop()
|
||||||
|
|
||||||
def interactive(model, port=8888):
|
def interactive(model, port=8888):
|
||||||
|
|
Loading…
Reference in New Issue