Author: saces
Date: 2007-02-09 19:38:39 +0000 (Fri, 09 Feb 2007)
New Revision: 11715
Modified:
trunk/freenet/src/freenet/clients/http/QueueToadlet.java
Log:
fix the panic button.
Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2007-02-09
19:04:07 UTC (rev 11714)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2007-02-09
19:38:39 UTC (rev 11715)
@@ -747,7 +747,8 @@
private HTMLNode createPanicBox(PageMaker pageMaker, ToadletContext
ctx) {
HTMLNode panicBox = pageMaker.getInfobox("infobox-alert",
"Panic Button");
HTMLNode panicForm =
ctx.addFormChild(pageMaker.getContentNode(panicBox), "/queue/",
"queuePanicForm");
- panicForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "remove_AllRequests", "Delete everything
without confirmation!" });
+ panicForm.addChild("#", "Delete everything without
confirmation!\u00a0");
+ panicForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "remove_AllRequests", "Delete" });
return panicBox;
}