From 6f129d9c68f998c9de08618c9b56f06f6841abd7 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 14 Jan 2014 12:25:27 -0500 Subject: [PATCH] allow password fields to be saved in ACP --- public/src/forum/admin/settings.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/src/forum/admin/settings.js b/public/src/forum/admin/settings.js index 754a4ee70f..d294b9311b 100644 --- a/public/src/forum/admin/settings.js +++ b/public/src/forum/admin/settings.js @@ -26,6 +26,7 @@ define(['uploader'], function(uploader) { if (app.config[key]) { switch (inputType) { case 'text': + case 'password': case 'textarea': case 'number': fields[x].value = app.config[key]; @@ -53,6 +54,8 @@ define(['uploader'], function(uploader) { inputType = fields[x].getAttribute('type'); switch (inputType) { case 'text': + case 'password': + case 'textarea': case 'number': value = fields[x].value; break;