diff options
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/validation.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/validation.js b/modules/luci-base/htdocs/luci-static/resources/validation.js index 70d3a7e73a..fccce4ab0b 100644 --- a/modules/luci-base/htdocs/luci-static/resources/validation.js +++ b/modules/luci-base/htdocs/luci-static/resources/validation.js @@ -575,6 +575,18 @@ var ValidatorFactory = baseclass.extend({ string: function() { return true; + }, + + directory: function() { + return true; + }, + + file: function() { + return true; + }, + + device: function() { + return true; } } }); |