Skip to content

Commit

Permalink
Merged in develop (pull request #11)
Browse files Browse the repository at this point in the history
fix first connection
  • Loading branch information
alfasoftpt committed Sep 1, 2018
2 parents 8b43f7c + 4faf2d6 commit c88db6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/sendControll.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ $(document).ready(function() {

// make following action fire when radio button changes
$('input[type=radio]').click(function(){
if(document.getElementById('proxyHostHttp').value.length < 1 && document.getElementById('proxyPortHttp').value.length < 1){
document.getElementById('proxyHostHttp').value = "127.0.0.1";
document.getElementById('proxyPortHttp').value = "8180";
}
setTimeout(function(){
$('button[type=submit]').click();
}, 300);
Expand Down
2 changes: 2 additions & 0 deletions proxy_form_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ function generateAlert(msg, close) {
document.getElementById("imgError").removeAttribute('hidden', 'hidden');
document.getElementById("dataValue").setAttribute('hidden', 'hidden');

$("#settingsConfig").attr("hidden", "hidden");

// switch visible sections, hiding welcome screen and showing the other where error is shown
$("#fixed_servers").attr("hidden", "hidden");
$("#system").removeAttr("hidden");
Expand Down

0 comments on commit c88db6e

Please sign in to comment.