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

This commit is contained in:
Simon Kornblith 2010-06-29 05:28:13 +00:00
parent 79f5204050
commit 0876e689c8
2 changed files with 2 additions and 3 deletions

View file

@ -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;
}

View file

@ -21,6 +21,5 @@
</hbox>
<spacer flex="1"/>
<description id="description"> </description>
<checkbox id="disable" label="&zotero.proxy.recognized.disable.label;"/>
</vbox>
</dialog>