commit b3ce918dfbbb6fb7db53c27fad2ffafc39859164
parent 6d265f448f94307d22b58a1305c64af006f5278f
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 19 Jul 2017 03:39:51 -0400
Sort export translators in Quick Copy settings drop-downs
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/preferences/preferences_export.js b/chrome/content/zotero/preferences/preferences_export.js
@@ -119,6 +119,7 @@ Zotero_Preferences.Export = {
popup.appendChild(itemNode);
// add export formats to list
+ translators.sort((a, b) => a.label.localeCompare(b.label))
translators.forEach(function (translator) {
// Skip RDF formats
switch (translator.translatorID) {