Skip to content

Commit

Permalink
Allow port Specification on PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Meredith committed Aug 11, 2016
1 parent 50dcca3 commit 090475b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/public/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 090475b

Please sign in to comment.