diff --git a/chrome/content/zotero/proxy.js b/chrome/content/zotero/proxy.js index 580df2504..a1494d576 100644 --- a/chrome/content/zotero/proxy.js +++ b/chrome/content/zotero/proxy.js @@ -28,7 +28,7 @@ * Interface for proxy.xul add proxy confirmation dialog * @namespace */ -Zotero_Proxy_Dialog = new function() { +var Zotero_Proxy_Dialog = new function() { var halfSecondsRemaining = 4; var acceptButton; var addString; diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js index 9abd62973..33852380c 100644 --- a/chrome/content/zotero/xpcom/proxy.js +++ b/chrome/content/zotero/xpcom/proxy.js @@ -454,7 +454,7 @@ Zotero.Proxy.prototype.toProper = function(m) { * @type String */ Zotero.Proxy.prototype.toProxy = function(uri) { - proxyURL = this.scheme; + var proxyURL = this.scheme; for(var i=this.parameters.length-1; i>=0; i--) { var param = this.parameters[i];