Fix layout of password prompt dialogue. Fixes #2684

This commit is contained in:
Murtuza Zabuawala 2017-09-07 16:27:02 +01:00 committed by Dave Page
parent 263aa42725
commit d5f60e1a47

View File

@ -94,7 +94,7 @@ function(gettext, alertify, S) {
if (contentType) {
try {
if (contentType.indexOf('application/json') == 0) {
resp = $.parseJSON(msg);
var resp = $.parseJSON(msg);
if (resp.result != null && (!resp.errormsg || resp.errormsg == '') &&
onJSONResult && typeof(onJSONResult) == 'function') {