modules/admin-full: add CDATA comments to wireless_modefreq.htm script tag
This should fix non-wellformed page errors with XHTML themes. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
1b6e4e4304
commit
5916f762f6
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<%+cbi/valueheader%>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var freqlist = <%= luci.http.write_json(self.freqlist) %>;
|
||||
var hwmodes = <%= luci.http.write_json(self.hwmodes) %>;
|
||||
|
||||
|
@ -142,7 +142,7 @@
|
|||
bwdt.value = <%= luci.http.write_json(self.map:get(section, "htmode")) %>;
|
||||
chan.value = <%= luci.http.write_json(self.map:get(section, "channel")) %>;
|
||||
}
|
||||
</script>
|
||||
//]]></script>
|
||||
|
||||
<label style="float:left; margin-right:3px">
|
||||
<%:Mode%><br />
|
||||
|
|
Loading…
Reference in a new issue