Remove extra debugging in Zotero.ItemFields.getLocalizedString()

This commit is contained in:
Dan Stillman 2015-05-01 04:01:20 -04:00
parent 285995807d
commit 805df39869

View File

@ -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;