summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-07 12:58:13 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-07 12:58:13 +0100
commit6567bb631a78033b6b4cc32bc93e07d837652276 (patch)
tree667a6cf15697f4b6343dc082eae591433db994ed /application
parent2b1ccf227b8f409e0572119018c7615b877a6612 (diff)
downloadUXP-6567bb631a78033b6b4cc32bc93e07d837652276.tar
UXP-6567bb631a78033b6b4cc32bc93e07d837652276.tar.gz
UXP-6567bb631a78033b6b4cc32bc93e07d837652276.tar.lz
UXP-6567bb631a78033b6b4cc32bc93e07d837652276.tar.xz
UXP-6567bb631a78033b6b4cc32bc93e07d837652276.zip
Never let "localhost" get sent to a proxy.
Also make "No proxy for" editable always when usable.
Diffstat (limited to 'application')
-rw-r--r--application/basilisk/components/preferences/connection.js2
-rw-r--r--application/palemoon/components/preferences/connection.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/basilisk/components/preferences/connection.js b/application/basilisk/components/preferences/connection.js
index f6b395a2d..349139bed 100644
--- a/application/basilisk/components/preferences/connection.js
+++ b/application/basilisk/components/preferences/connection.js
@@ -76,7 +76,7 @@ var gConnectionsDialog = {
var autologinProxyPref = document.getElementById("signon.autologin.proxy");
autologinProxyPref.disabled = proxyTypePref.value == 0;
var noProxiesPref = document.getElementById("network.proxy.no_proxies_on");
- noProxiesPref.disabled = proxyTypePref.value != 1;
+ noProxiesPref.disabled = proxyTypePref.value == 0;
var autoconfigURLPref = document.getElementById("network.proxy.autoconfig_url");
autoconfigURLPref.disabled = proxyTypePref.value != 2;
diff --git a/application/palemoon/components/preferences/connection.js b/application/palemoon/components/preferences/connection.js
index c1dd1bb6d..da038c925 100644
--- a/application/palemoon/components/preferences/connection.js
+++ b/application/palemoon/components/preferences/connection.js
@@ -63,7 +63,7 @@ var gConnectionsDialog = {
autologinProxyPref.disabled = proxyTypePref.value == 0;
var noProxiesPref = document.getElementById("network.proxy.no_proxies_on");
- noProxiesPref.disabled = proxyTypePref.value != 1;
+ noProxiesPref.disabled = proxyTypePref.value == 0;
var autoconfigURLPref = document.getElementById("network.proxy.autoconfig_url");
autoconfigURLPref.disabled = proxyTypePref.value != 2;