diff options
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 6692d52ab..f0629d0ca 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -52,7 +52,7 @@ var CBINode = Class.extend({ }, stripTags: function(s) { - if (!s.match(/[<>]/)) + if (typeof(s) == 'string' && !s.match(/[<>]/)) return s; var x = E('div', {}, s); |