commit 5c8209da5c99d91372ee2af6871cd429e4297a93
parent 2f556d0da16b173281b62525721bf386f947ebb6
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 25 Apr 2015 03:03:13 -0400
Fix 'this' binding in ZoteroPane.selectItem()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -2033,7 +2033,7 @@ var ZoteroPane = new function()
yield self.itemsView.selectItem(itemID, expand);
}
deferred.resolve(true);
- })
+ }, this)
.catch(function(e) {
deferred.reject(e);
});