From 067df948225d2e7737187ef5fa1143d86acbb1ee Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 5 Aug 2011 18:17:06 +0000 Subject: [PATCH] Closes #1868, Dragging collections into group libraries --- .../zotero/xpcom/collectionTreeView.js | 410 ++++++++++-------- .../content/zotero/xpcom/data/collection.js | 92 ++++ chrome/content/zotero/xpcom/data/item.js | 6 +- chrome/content/zotero/xpcom/data/items.js | 1 - chrome/content/zotero/xpcom/data/relations.js | 6 +- chrome/content/zotero/xpcom/uri.js | 78 +++- 6 files changed, 398 insertions(+), 195 deletions(-) diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 6e8c1428b..3c46c7ccf 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -235,24 +235,8 @@ Zotero.CollectionTreeView.prototype.refresh = function() */ Zotero.CollectionTreeView.prototype.reload = function() { - var openCollections = []; - - for (var i=0; i