Hi, PFA minor patch to fix the 'Connect to Server' dialog layout issue. RM#2684
This issue is regression of commit: Link <https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=commit;h=47cf874460dd0fcd0f39af1772e4ba3913020ee1> -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company [image: https://community.postgresrocks.net/] <https://community.postgresrocks.net/>
diff --git a/web/pgadmin/static/js/alertify.pgadmin.defaults.js b/web/pgadmin/static/js/alertify.pgadmin.defaults.js index 5993df9..81bd7eb 100644 --- a/web/pgadmin/static/js/alertify.pgadmin.defaults.js +++ b/web/pgadmin/static/js/alertify.pgadmin.defaults.js @@ -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') {