From 805df398692cb01b4d3fbec8fc15d44ba7533324 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 1 May 2015 04:01:20 -0400 Subject: [PATCH] Remove extra debugging in Zotero.ItemFields.getLocalizedString() --- chrome/content/zotero/xpcom/data/itemFields.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/itemFields.js b/chrome/content/zotero/xpcom/data/itemFields.js index 1ffa92216..650a04602 100644 --- a/chrome/content/zotero/xpcom/data/itemFields.js +++ b/chrome/content/zotero/xpcom/data/itemFields.js @@ -137,20 +137,7 @@ Zotero.ItemFields = new function() { // TODO: different labels for different item types - try { - _fieldCheck(field, 'getLocalizedString'); - } - // TEMP - catch (e) { - try { - asfasfa(); - } - catch (e2) { - Zotero.debug(e2); - } - Zotero.debug(e); - throw (e); - } + _fieldCheck(field, 'getLocalizedString'); if (_fields[field].label) { return _fields[field].label;