diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-31 12:48:24 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-31 12:48:24 +0100 |
commit | 5916f762f6c1595d0bf8ca92d638e8c8064ddf7e (patch) | |
tree | fea1353c94ec301cc86676fc2244830317ba9dcf /modules/admin-full/luasrc | |
parent | 1b6e4e4304ffa884bf1949b8213c422a3f4fd22c (diff) |
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>
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/view/cbi/wireless_modefreq.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/view/cbi/wireless_modefreq.htm b/modules/admin-full/luasrc/view/cbi/wireless_modefreq.htm index 39db482dd..ac14593e7 100644 --- a/modules/admin-full/luasrc/view/cbi/wireless_modefreq.htm +++ b/modules/admin-full/luasrc/view/cbi/wireless_modefreq.htm @@ -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 /> |