Browse Source

Merge pull request #6203 from okeatime/webui_proxy

Webui proxy_type bug fix
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
a33ff12123
  1. 2
      src/webui/www/public/preferences_content.html

2
src/webui/www/public/preferences_content.html

@ -1110,7 +1110,7 @@ applyPreferences = function() {
// Proxy Server // Proxy Server
var proxy_type_str = $('peer_proxy_type_select').getProperty('value'); var proxy_type_str = $('peer_proxy_type_select').getProperty('value');
var proxy_type = -1; var proxy_type = 0;
var proxy_auth_enabled = false; var proxy_auth_enabled = false;
if(proxy_type_str == "socks5") { if(proxy_type_str == "socks5") {
if($('peer_proxy_auth_checkbox').getProperty('checked')) { if($('peer_proxy_auth_checkbox').getProperty('checked')) {

Loading…
Cancel
Save