Remove extra debugging in Zotero.ItemFields.getLocalizedString()
This commit is contained in:
parent
285995807d
commit
805df39869
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user