Author: bombe
Date: 2006-08-31 22:36:37 +0000 (Thu, 31 Aug 2006)
New Revision: 10311

Modified:
   trunk/freenet/src/freenet/clients/http/Spider.java
Log:
fix add uri box

Modified: trunk/freenet/src/freenet/clients/http/Spider.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/Spider.java  2006-08-31 20:23:20 UTC 
(rev 10310)
+++ trunk/freenet/src/freenet/clients/http/Spider.java  2006-08-31 22:36:37 UTC 
(rev 10311)
@@ -384,7 +384,7 @@

        private HTMLNode createAddBox(PageMaker pageMaker) {
                HTMLNode addBox = pageMaker.getInfobox("Add a URI");
-               HTMLNode formNode = pageMaker.getContentNode(addBox);
+               HTMLNode formNode = 
pageMaker.getContentNode(addBox).addChild("form", new String[] { "action", 
"method" }, new String[] { "", "get" });
                formNode.addChild("input", new String[] { "type", "name", 
"value" }, new String[] { "hidden", "action", "add" });
                formNode.addChild("input", new String[] { "type", "size", 
"name", "value" }, new String[] { "text", "40", "key", "" });
                formNode.addChild("input", new String[] { "type", "value" }, 
new String[] { "submit", "Add URI" });


Reply via email to