From d77b9c4ffdc53bf530a4ae319d348288c62ec464 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 9 Jun 2021 17:03:22 +0200 Subject: [PATCH] Form sorted list hint --- www/form/inner.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index 162e63441..359f678df 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -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) {