Author: nextgens
Date: 2008-01-03 16:53:28 +0000 (Thu, 03 Jan 2008)
New Revision: 16858

Modified:
   trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
   trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
Log:
ConnectionToadlet: same fix with different code

Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2008-01-03 16:23:39 UTC (rev 16857)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2008-01-03 16:53:28 UTC (rev 16858)
@@ -467,8 +467,7 @@
                        // END PEER TABLE
                }

-               if(!isOpennet())
-                       drawAddPeerBox(contentNode, ctx);
+               drawAddPeerBox(contentNode, ctx);

                // our reference
                if(shouldDrawNoderefBox(advancedModeEnabled))

Modified: trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java       
2008-01-03 16:23:39 UTC (rev 16857)
+++ trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java       
2008-01-03 16:53:28 UTC (rev 16858)
@@ -27,6 +27,10 @@
                        PeerNodeStatus peerNodeStatus, boolean 
fProxyJavascriptEnabled) {
                // Do nothing - no private notes either (no such thing as 
negative trust in cyberspace)
        }
+       
+       protected void drawAddPeerBox(HTMLNode contentNode, ToadletContext ctx) 
{
+               // Do nothing - we don't want opennet-refs dealing
+       }

        protected boolean hasNameColumn() {
                return false;


Reply via email to