From 8cd04e5d91371ed50e654b2dbde2506eb04dbe22 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 17 Mar 2020 22:16:00 -0400 Subject: [PATCH] Temporarily disable the fix from 3247391914 Disable this until we figure out why it was running when migrating from Extra. --- chrome/content/zotero/xpcom/data/item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 9a47e59973..1903134941 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -502,6 +502,7 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) { for (let i = 0; i < this.getCreators().length; i++) { // Remove all creators if new item type doesn't have any if (removeAll) { + throw new Error("Disabled"); this.removeCreator(i); i--; continue;