commit 84fcd7d4b8c7cd01add2d694885464a8731b3829
parent b285f6a7d4494de7501b126bff8eba9c86a6c41b
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 1 Aug 2010 19:57:42 +0000
oops: there is no wrappedJSObject for collectionsView
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js
@@ -127,7 +127,7 @@ var Zotero_Citation_Dialog = new function () {
// switch to library if item doesn't exist in current selection
if(collectionsView.getSelectedCollection() && !collectionsView.getSelectedCollection().hasItem(io.citation.citationItems[0].id)) {
var item = Zotero.Items.get(io.citation.citationItems[0].id);
- collectionsView.wrappedJSObject.selectLibrary(item.libraryID);
+ collectionsView.selectLibrary(item.libraryID);
}
itemsView.wrappedJSObject.selectItem(io.citation.citationItems[0].id);