addition to svn 3699: check send/receive if p2p-mode is activated

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3701 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 709b4c1905
commit 85035dc319

@ -24,6 +24,13 @@
document.ConfigForm.indexReceive.checked = false;
}
}
function EnableP2P() {
if(document.ConfigForm.network[0].checked) {
document.ConfigForm.indexDistribute.checked = true;
document.ConfigForm.indexReceive.checked = true;
}
}
//-->
</script>
</head>
@ -50,7 +57,7 @@
<form name="ConfigForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<legend>
<input type="radio" name="network" id="p2p" value="p2p"#(p2p.checked)#:: checked="checked"#(/p2p.checked)# />
<input type="radio" name="network" id="p2p" onclick="EnableP2P()" value="p2p"#(p2p.checked)#:: checked="checked"#(/p2p.checked)# />
<label for="p2p">Peer-to-Peer Mode</label>
</legend>
<dl>

@ -236,7 +236,7 @@ public class kelondroRowSet extends kelondroRowCollection implements kelondroInd
p = 0;
} else {
p = binaryPosition(first, 0, first.length); // check this to find bug in DHT selection enumeration
System.out.println("binaryposition for key " + new String(firstKey) + " is " + p);
//System.out.println("binaryposition for key " + new String(firstKey) + " is " + p);
}
}

Loading…
Cancel
Save