modules/admin-full: fix broken XHTML on diagnostics page
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Nov 2012 13:22:04 +0000 (13:22 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Nov 2012 13:22:04 +0000 (13:22 +0000)
modules/admin-full/luasrc/view/admin_network/diagnostics.htm

index abbc906234df0b44a24f04a31d6e4346219ec910..64666880da180889fbbdab69dbf4e5da5e4211ab 100644 (file)
@@ -84,8 +84,8 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6")
                                <input type="button" value="<%:Ping%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.ping,this.form.proto)" />
                                <% if has_ping6 then %>
                                <div style="width:100%; margin-top: 10px;">
-                                       <input type="radio" name="proto" value="" checked> <%:IPv4%>
-                                       <input type="radio" name="proto" value="6"> <%:IPv6%>
+                                       <input type="radio" name="proto" value="" checked="checked" /> <%:IPv4%>
+                                       <input type="radio" name="proto" value="6" /> <%:IPv6%>
                                </div>
                                <%end%>
                        </div>
@@ -95,8 +95,8 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6")
                                <input type="button" value="<%:Traceroute%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.traceroute,this.form.trproto)" />
                                <% if has_traceroute6 then %>
                                <div style="width:100%; margin-top: 10px;">
-                                       <input type="radio" name="trproto" value="" checked> <%:IPv4%>
-                                       <input type="radio" name="trproto" value="6"> <%:IPv6%>
+                                       <input type="radio" name="trproto" value="" checked="checked" /> <%:IPv4%>
+                                       <input type="radio" name="trproto" value="6" /> <%:IPv6%>
                                </div>
                                <%end%>
                        </div>