Fix breakage in the connector from 365e58249d
This commit is contained in:
parent
e14b8f94bd
commit
492e7917b6
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ Zotero.HTTP = new function() {
|
||||||
this[i] = options[i];
|
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 () {
|
this.promise = function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue