www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 331a7cef7ebb17aef279f4c5a06c34b06ff8f9a6
parent 61fa8745727a4a67badad2ee7db441c984858e6a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  8 Feb 2013 02:20:53 -0500

Fix child item duplication (UI-only) when dragging between parents

Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -1939,7 +1939,7 @@ Zotero.Item.prototype.save = function() { Zotero.Notifier.trigger('modify', 'item', newSourceItem.id, newSourceItemNotifierData); } - var oldSourceItemKey = this._previousData.parent; + var oldSourceItemKey = this._previousData.parentItem; if (oldSourceItemKey) { var oldSourceItem = Zotero.Items.getByLibraryAndKey(this.libraryID, oldSourceItemKey); if (oldSourceItem) {