]> _ Git - cubist_cms-back.git/commitdiff
wip #5791 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 Mar 2023 18:33:21 +0000 (19:33 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 Mar 2023 18:33:21 +0000 (19:33 +0100)
src/public/bunchmultiple/bunchmultiple.js

index 45178a9044f9f325bf235725900f49d38f7b2feb..2c1b888f9f63694a1e93fe2acff3260593d2534e 100644 (file)
@@ -82,7 +82,7 @@
                 var item = $(this).closest('.item');
                 var form = item.find('.subform');
                 var txt = $(this).data('legend').replace(/\%([a-zA-Z0-9_]+)/gm, function (match, varname) {
-                    return form.find('[name="' + varname + '"]').val();
+                    return form.find('[name$="__' + varname + '"]').val();
                 });
                 $(this).text(txt);
             });