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");
|
||||
submit.addEventListener("click", function() {
|
||||
const Http = new XMLHttpRequest();
|
||||
const url='/submit/?name='+array.join(";");
|
||||
const url='/submit/?name='+array.join("&name=");
|
||||
Http.open("GET", url);
|
||||
Http.send();
|
||||
alert("Now go back to your console")
|
||||
|
|
|
@ -107,7 +107,7 @@ class hello:
|
|||
class submit:
|
||||
def GET(self, _):
|
||||
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()
|
||||
|
||||
def interactive(model, port=8888):
|
||||
|
|
Loading…
Reference in New Issue