From 23e4d90d44409ee0cad08103fecd5162dfe20b55 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 3 Apr 2011 20:25:06 +0000 Subject: [PATCH] sort translators alphabetically in export dialog --- chrome/content/zotero/exportOptions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/exportOptions.js b/chrome/content/zotero/exportOptions.js index 34d85b8a65..f5aca52ad8 100644 --- a/chrome/content/zotero/exportOptions.js +++ b/chrome/content/zotero/exportOptions.js @@ -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");