From 0a6891bcde716e8076b3dc6e369306a3c1fed82d Mon Sep 17 00:00:00 2001 From: raviks789 Date: Thu, 22 May 2025 12:25:34 +0200 Subject: [PATCH] `module.js`: Do not show count for fieldset element added in CustomPropertiesForm --- public/js/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/module.js b/public/js/module.js index 993d5b84..8248a395 100644 --- a/public/js/module.js +++ b/public/js/module.js @@ -795,7 +795,7 @@ if ($fieldset.attr('id') === 'fieldset-assign') { return; } - if ($fieldset.find('.required').length === 0 && (! self.fieldsetWasOpened($fieldset))) { + if (! $fieldset.hasClass('dictionary-element') && $fieldset.find('.required').length === 0 && (! self.fieldsetWasOpened($fieldset))) { $fieldset.addClass('collapsed'); self.fixFieldsetInfo($fieldset); }