sort translators alphabetically in export dialog

This commit is contained in:
Simon Kornblith 2011-04-03 20:25:06 +00:00
parent 45967da4ce
commit 23e4d90d44

View File

@ -52,6 +52,7 @@ var Zotero_File_Interface_Export = new function() {
var addedOptions = new Object();
var translators = window.arguments[0].translators;
translators.sort(function(a, b) { return a.label.localeCompare(b.label) });
// get format popup
var formatPopup = document.getElementById("format-popup");