From 090475bba4b4df484cde50e881ebe7ffb05a1407 Mon Sep 17 00:00:00 2001 From: Martin Meredith Date: Tue, 9 Aug 2016 11:14:55 +0100 Subject: [PATCH] Allow port Specification on PostgreSQL --- frontend/public/setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/public/setup.php b/frontend/public/setup.php index 8e4cb1dcf..f411a6f8c 100644 --- a/frontend/public/setup.php +++ b/frontend/public/setup.php @@ -638,12 +638,12 @@ function nextStep (goToStep) { if($(this)[0].id !== "") { var chosenText = $(this)[0].id; $("#dbms_choice").val(chosenText); - if(chosenText === "pgsql" || chosenText === "sqlsrv") { + if(chosenText === "sqlsrv") { $("#portFieldElement").hide(); $("#serverFieldElement, #usernameFieldElement, #passwordFieldElement").show(); }else if(chosenText === "sqlite") { $("#serverFieldElement, #portFieldElement, #usernameFieldElement, #passwordFieldElement").hide(); - }else if(chosenText === "mysql") { + }else if(chosenText === "pgsql" || chosenText === "mysql") { $("#serverFieldElement, #portFieldElement, #usernameFieldElement, #passwordFieldElement").show(); } }