mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-08 05:30:40 +01:00
settings - allowing hidden inputs to be saved
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user