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:
Dan Stillman 2015-05-26 03:09:11 -04:00
parent 9f4b128c14
commit ea1573e1c3

View file

@ -2300,7 +2300,6 @@ Zotero.SearchConditions = new function(){
return Zotero.getString('searchConditions.' + str)
}
catch (e) {
Zotero.debug("String not found for searchConditions." + str, 2);
return Zotero.ItemFields.getLocalizedString(null, str);
}
}