]> _ Git - cubist_cms-back.git/commitdiff
wait #5292 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 May 2022 13:40:02 +0000 (15:40 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 May 2022 13:40:02 +0000 (15:40 +0200)
src/public/bunchmultiple/bunchmultiple.js

index 058e082d61ce2784b89aa67b2407f99262b035f1..1d0a03deb0d9ec1097070abf356a449aa87d2ef3 100644 (file)
 
             this.cleanTemplate();
 
+            $(document).on('click', '.nav-link', function () {
+                $this.resize();
+            });
+
             var initValues = this.element.data('values');
 
             if (initValues.length === 0) {
             }
             // Handle nested multiple bunch
             var nested = [];
-            $(item).find('.subform>.bunchmultiple').each(function () {
+            $(item).find('.subform>.bunchfields>.bunchmultiple').each(function () {
                 var newrand = $this.id + '_' + Math.round(Math.random() * 10000000);
                 var sampleId = $(this).attr('id');
                 var html = replaceAll(sampleId, newrand, $(this).html());
 
 jQuery(document).ready(function ($) {
     $(".bunchmultiple").bunchmultiple();
+
 });
 
 jQuery.cachedScript = function (url, options) {