commit 492e7917b6fe88369c4a7c5b2b91ad5f9a2d9bd0 parent e14b8f94bdbd5a8ee8f6c9df2af704e9cfd6d1c5 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 5 Oct 2017 16:58:19 -0400 Fix breakage in the connector from 365e58249dc Diffstat:
| M | chrome/content/zotero/xpcom/http.js | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js @@ -65,7 +65,10 @@ Zotero.HTTP = new function() { this[i] = options[i]; } }; - this.SecurityException.prototype = Object.create(Zotero.Error.prototype); + this.SecurityException.prototype = Object.create( + // Zotero.Error not available in the connector + Zotero.Error ? Zotero.Error.prototype : Error.prototype + ); this.promise = function () {