diff --git a/chrome/content/zotero/preferences/preferences_firefox.xul b/chrome/content/zotero/preferences/preferences_firefox.xul
index 07dc62428a..bfb1e50e07 100644
--- a/chrome/content/zotero/preferences/preferences_firefox.xul
+++ b/chrome/content/zotero/preferences/preferences_firefox.xul
@@ -23,7 +23,10 @@
***** END LICENSE BLOCK *****
-->
-
+ %preferencesDTD;
+ %zoteroDTD;
+]>
@@ -64,7 +67,7 @@
@@ -73,7 +76,9 @@
-
+
+
+
diff --git a/chrome/content/zotero/preferences/preferences_proxies.js b/chrome/content/zotero/preferences/preferences_proxies.js
index b0227396f6..6c081a18f5 100644
--- a/chrome/content/zotero/preferences/preferences_proxies.js
+++ b/chrome/content/zotero/preferences/preferences_proxies.js
@@ -55,6 +55,14 @@ Zotero_Preferences.Proxies = {
},
+ /**
+ * Enables UI buttons when proxy is selected
+ */
+ enableProxyButtons: function () {
+ document.getElementById('proxyTree-edit').disabled = false;
+ document.getElementById('proxyTree-delete').disabled = false;
+ },
+
/**
* Adds a proxy to the proxy pane
*/
@@ -138,6 +146,7 @@ Zotero_Preferences.Proxies = {
}
document.getElementById('proxyTree').currentIndex = -1;
+ document.getElementById('proxyTree-edit').disabled = true;
document.getElementById('proxyTree-delete').disabled = true;
document.getElementById('zotero-proxies-transparent').checked = Zotero.Prefs.get("proxies.transparent");
document.getElementById('zotero-proxies-autoRecognize').checked = Zotero.Prefs.get("proxies.autoRecognize");