www

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

commit 805df398692cb01b4d3fbec8fc15d44ba7533324
parent 285995807d084f335152457a69a232572e3595fd
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  1 May 2015 04:01:20 -0400

Remove extra debugging in Zotero.ItemFields.getLocalizedString()

Diffstat:
Mchrome/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 @@ -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;