This commit is contained in:
Simon Kornblith 2013-04-05 10:48:58 -04:00
parent 5e4c464cf5
commit 0d6dc81112

View file

@ -1327,7 +1327,7 @@ Zotero.Integration.Fields.prototype.get = function get() {
// If already getting fields, just return the promise
if(this._deferreds) {
this._deferreds.push(deferred);
return deferred;
return deferred.promise;
} else {
this._deferreds = [deferred];
}