allow password fields to be saved in ACP

v1.18.x
psychobunny 11 years ago
parent acc390f6ef
commit 6f129d9c68

@ -26,6 +26,7 @@ define(['uploader'], function(uploader) {
if (app.config[key]) { if (app.config[key]) {
switch (inputType) { switch (inputType) {
case 'text': case 'text':
case 'password':
case 'textarea': case 'textarea':
case 'number': case 'number':
fields[x].value = app.config[key]; fields[x].value = app.config[key];
@ -53,6 +54,8 @@ define(['uploader'], function(uploader) {
inputType = fields[x].getAttribute('type'); inputType = fields[x].getAttribute('type');
switch (inputType) { switch (inputType) {
case 'text': case 'text':
case 'password':
case 'textarea':
case 'number': case 'number':
value = fields[x].value; value = fields[x].value;
break; break;

Loading…
Cancel
Save