Author: xor
Date: 2008-11-16 14:19:24 +0000 (Sun, 16 Nov 2008)
New Revision: 23643
Modified:
trunk/plugins/WoT/ui/web/IntroduceIdentityPage.java
Log:
Move code in the right place.
Modified: trunk/plugins/WoT/ui/web/IntroduceIdentityPage.java
===================================================================
--- trunk/plugins/WoT/ui/web/IntroduceIdentityPage.java 2008-11-16 14:16:02 UTC
(rev 23642)
+++ trunk/plugins/WoT/ui/web/IntroduceIdentityPage.java 2008-11-16 14:19:24 UTC
(rev 23643)
@@ -61,13 +61,14 @@
private void makePuzzleBox(PluginRespirator pr) {
HTMLNode boxContent = getContentBox("Puzzles");
- HTMLNode solveForm = pr.addFormChild(boxContent, SELF_URI,
"introduceIdentity");
- solveForm.addAttribute("identity", mIdentity.getId());
- HTMLNode puzzleTable = solveForm.addChild("table", "border",
"0");
- HTMLNode row = puzzleTable.addChild("tr");
-
if(mPuzzles.size() > 0 ) {
+ HTMLNode solveForm = pr.addFormChild(boxContent,
SELF_URI, "introduceIdentity");
+ solveForm.addAttribute("identity", mIdentity.getId());
+
+ HTMLNode puzzleTable = solveForm.addChild("table",
"border", "0");
+ HTMLNode row = puzzleTable.addChild("tr");
+
int counter = 0;
for(IntroductionPuzzle p : mPuzzles) {
solveForm.addAttribute("id",
p.getID().toString());
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs