Don't log warning when localized string for search condition not found
Falls back to item field strings, so not sure why I added logging for this.
This commit is contained in:
parent
9f4b128c14
commit
ea1573e1c3
1 changed files with 0 additions and 1 deletions
|
@ -2300,7 +2300,6 @@ Zotero.SearchConditions = new function(){
|
||||||
return Zotero.getString('searchConditions.' + str)
|
return Zotero.getString('searchConditions.' + str)
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
Zotero.debug("String not found for searchConditions." + str, 2);
|
|
||||||
return Zotero.ItemFields.getLocalizedString(null, str);
|
return Zotero.ItemFields.getLocalizedString(null, str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue