summaryrefslogtreecommitdiff
path: root/htroot/js/WatchWebStructure.js
diff options
context:
space:
mode:
authorallo <allo@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-06-02 14:50:36 +0000
committerallo <allo@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-06-02 14:50:36 +0000
commit54ddb3262ca5f83ced4510c80c33563c16a94bcc (patch)
treed93b2b1cf3209618a4d58ee53d10816ec9266b8b /htroot/js/WatchWebStructure.js
parentedec6049c3a562c8615913a55de3def02b6b7d8e (diff)
enter on webstrucutre
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3783 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/js/WatchWebStructure.js')
-rw-r--r--htroot/js/WatchWebStructure.js5
1 files changed, 5 insertions, 0 deletions
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