Console: Fix bug with IE buttons not working, because it sends the label instead of the value

This commit is contained in:
zzz
2009-04-03 21:33:35 +00:00
parent 0c7cb9d781
commit bb0531053d
5 changed files with 27 additions and 9 deletions

View File

@ -62,10 +62,10 @@ public class ConfigClientsHelper extends HelperBase {
if (ro)
buf.append("disabled=\"true\" ");
}
buf.append("/></td><td>&nbsp");
buf.append("/></td><td>&nbsp;");
if (!enabled) {
buf.append("<button type=\"submit\" name=\"action\" value=\"Start ").append(index).append("\" >Start</button>");
buf.append("<button type=\"submit\" name=\"action\" value=\"Start ").append(index).append("\" >Start<span class=hide> ").append(index).append("</span></button>");
}
buf.append("&nbsp</td><td>").append(desc).append("</td></tr>\n");
buf.append("&nbsp;</td><td>").append(desc).append("</td></tr>\n");
}
}