www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0876e689c8d33334a302c060c87ac860ca1f0d56
parent 79f520405072f1161396f9c78bd8a8db925377c0
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 29 Jun 2010 05:28:13 +0000

remove the option to disable proxy detection from the proxy dialog, since it makes less sense now


Diffstat:
Mchrome/content/zotero/proxy.js | 4++--
Mchrome/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 @@ -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 @@ -21,6 +21,5 @@ </hbox> <spacer flex="1"/> <description id="description"> </description> - <checkbox id="disable" label="&zotero.proxy.recognized.disable.label;"/> </vbox> </dialog> \ No newline at end of file