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:
Jo-Philipp Wich 2014-10-31 12:48:24 +01:00
parent 1b6e4e4304
commit 5916f762f6

View file

@ -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 />