diff --git a/htroot/WatchWebStructure_p.html b/htroot/WatchWebStructure_p.html index 1eb5708c1..684f43aaa 100644 --- a/htroot/WatchWebStructure_p.html +++ b/htroot/WatchWebStructure_p.html @@ -14,7 +14,7 @@
-
host
+
host
depth
#[depth]#
diff --git a/htroot/js/WatchWebStructure.js b/htroot/js/WatchWebStructure.js index 5b5f754ba..9c9cb6d1a 100644 --- a/htroot/js/WatchWebStructure.js +++ b/htroot/js/WatchWebStructure.js @@ -1,3 +1,8 @@ function changeHost(){ window.location.replace("http://"+window.location.host+":"+window.location.port+"/WatchWebStructure_p.html?host="+document.getElementById("host").value); +} +function keydown(ev){ + if(ev.which==13){ + changeHost(); + } } \ No newline at end of file