From 0876e689c8d33334a302c060c87ac860ca1f0d56 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 29 Jun 2010 05:28:13 +0000 Subject: [PATCH] remove the option to disable proxy detection from the proxy dialog, since it makes less sense now --- chrome/content/zotero/proxy.js | 4 ++-- chrome/content/zotero/proxy.xul | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/proxy.js b/chrome/content/zotero/proxy.js index f4606855f0..fe6cc8a7b7 100644 --- a/chrome/content/zotero/proxy.js +++ b/chrome/content/zotero/proxy.js @@ -54,7 +54,7 @@ var Zotero_Proxy_Dialog = new function() { * Called when "Add" button is pressed */ this.accept = function() { - window.arguments[0].disable = document.getElementById("disable").checked; + window.arguments[0].disable = false;//document.getElementById("disable").checked; window.arguments[0].add = true; } @@ -62,7 +62,7 @@ var Zotero_Proxy_Dialog = new function() { * Called when "Ignore" button is pressed */ this.cancel = function() { - window.arguments[0].disable = document.getElementById("disable").checked; + window.arguments[0].disable = false;//document.getElementById("disable").checked; window.arguments[0].add = false; } diff --git a/chrome/content/zotero/proxy.xul b/chrome/content/zotero/proxy.xul index d27d845355..ec9f86875b 100644 --- a/chrome/content/zotero/proxy.xul +++ b/chrome/content/zotero/proxy.xul @@ -21,6 +21,5 @@ - \ No newline at end of file