Fix 'this' binding in ZoteroPane.selectItem()

This commit is contained in:
Dan Stillman 2015-04-25 03:03:13 -04:00
parent 2f556d0da1
commit 5c8209da5c

View file

@ -2033,7 +2033,7 @@ var ZoteroPane = new function()
yield self.itemsView.selectItem(itemID, expand); yield self.itemsView.selectItem(itemID, expand);
} }
deferred.resolve(true); deferred.resolve(true);
}) }, this)
.catch(function(e) { .catch(function(e) {
deferred.reject(e); deferred.reject(e);
}); });