Fix code to get collation

This commit is contained in:
Simon Kornblith 2012-02-28 14:56:41 -05:00
parent c245cbc867
commit 98868146ec

View file

@ -73,7 +73,7 @@ Zotero_TranslatorTesters = new function() {
var results = [];
if("getLocaleCollation" in Zotero) {
var collation = collationFactory.CreateCollation(localeService.getApplicationLocale());
var collation = Zotero.getLocaleCollation();
strcmp = function(a, b) {
return collation.compareString(1, a, b);
};