Skip to content

Node.js based forum software built for the modern web

settings - allowing hidden inputs to be saved

psychobunnyc2c569695fbb
diff --git a/public/src/forum/admin/settings.js b/public/src/forum/admin/settings.js
index 5d7b105250..9f93a89818 100644
--- a/public/src/forum/admin/settings.js
+++ b/public/src/forum/admin/settings.js
@@ -31,6 +31,7 @@ define('forum/admin/settings', ['uploader', 'sounds'], function(uploader, sounds
if (app.config[key]) {
switch (inputType) {
case 'text':
+ case 'hidden':
case 'password':
case 'textarea':
case 'number':
@@ -135,6 +136,7 @@ define('forum/admin/settings', ['uploader', 'sounds'], function(uploader, sounds
switch (inputType) {
case 'text':
case 'password':
+ case 'hidden':
case 'textarea':
case 'number':
value = field.val();