From 0d6dc8111213cbf652c573181920673e330980f4 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 5 Apr 2013 10:48:58 -0400 Subject: [PATCH] Fix https://forums.zotero.org/discussion/28711 --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 6803904ad5..8fea620240 100644 --- 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]; }