summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-31 12:48:24 +0100
committerJo-Philipp Wich <jow@openwrt.org>2014-10-31 12:48:24 +0100
commit5916f762f6c1595d0bf8ca92d638e8c8064ddf7e (patch)
treefea1353c94ec301cc86676fc2244830317ba9dcf /modules/admin-full/luasrc
parent1b6e4e4304ffa884bf1949b8213c422a3f4fd22c (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.htm4
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 />