Browse Source

Webui proxy_type bug fix

adaptive-webui-19844
Oke Atime 8 years ago
parent
commit
84fe40c492
No known key found for this signature in database
GPG Key ID: 8DD974E4EE1F2271
  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