Commit 99910708 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

list of available annotators is sorted alphabetically

parent b4ce4d37
......@@ -4,6 +4,7 @@ minerva (12.3.1~beta.1) unstable; urgency=low
* Bug fix: plugin tab header wasn't properly resized after adding plugins
that introduced second line for tab selection (#758)
* Bug fix: invisible layer shouldn't be shown in the on th map (#813)
* Bug fix: list of availbale annotators is sorted alphabetically (#815)
minerva (13.1.0~beta.0) unstable; urgency=low
* Feature: annotators are more flexible - you can define set of input and
......
......@@ -197,6 +197,15 @@ ChooseAnnotatorsDialog.prototype.setElementType = function (elementType) {
}
entries.push(entry);
}
entries.sort(function (entryA, entryB) {
if (entryA.name < entryB.name) {
return -1;
}
if (entryA.name > entryB.name) {
return 1;
}
return 0;
});
var checkboxList = new MultiCheckboxList(selectElement, {
entries: entries,
listTitle: "Available annotators",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment