Form sorted list hint

This commit is contained in:
yflory 2021-06-09 17:03:22 +02:00
parent 4dfe8ac0d0
commit d77b9c4ffd

View file

@ -1492,7 +1492,10 @@ define([
$(div).data('val', data);
return div;
});
var tag = h('div.cp-form-type-sort-container', [h('div.cp-form-sort-hint', Messages.form_sort_hint), els]);
var tag = h('div.cp-form-type-sort-container', [
h('div.cp-form-sort-hint', Messages._getKey('form_sort_hint', [els.length])),
els
]);
var $tag = $(tag);
var reorder = function () {
$tag.find('.cp-form-type-sort').each(function (i, el) {