commit 0d6dc8111213cbf652c573181920673e330980f4
parent 5e4c464cf515707fa7ebab0197dac57f874847f0
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 5 Apr 2013 10:48:58 -0400
Fix https://forums.zotero.org/discussion/28711
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js
@@ -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];
}