Author: bombe
Date: 2007-11-18 22:01:44 +0000 (Sun, 18 Nov 2007)
New Revision: 15817
Modified:
trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
Log:
fix wrong infobox usage
Modified: trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConfigToadlet.java 2007-11-18
18:22:45 UTC (rev 15816)
+++ trunk/freenet/src/freenet/clients/http/ConfigToadlet.java 2007-11-18
22:01:44 UTC (rev 15817)
@@ -94,7 +94,7 @@
ctx.getPageMaker().getContentNode(infobox).addChild("#",
l10n("appliedSuccess"));
} else {
HTMLNode infobox =
contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-error",
l10n("appliedFailureTitle")));
- HTMLNode content = infobox.addChild("div", "class",
"infobox-content");
+ HTMLNode content =
ctx.getPageMaker().getContentNode(infobox).addChild("div", "class",
"infobox-content");
content.addChild("#", l10n("appliedFailureExceptions"));
content.addChild("br");
content.addChild("#", errbuf.toString());