Fix layout of password prompt dialogue. Fixes #2684

pull/6/head
Murtuza Zabuawala 2017-09-07 16:27:02 +01:00 committed by Dave Page
parent 263aa42725
commit d5f60e1a47
1 changed files with 1 additions and 1 deletions

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') {