From: Vincent Vanwaelscappel Date: Fri, 19 Aug 2022 11:56:35 +0000 (+0200) Subject: wait #5383 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4d22cd2575fc0df99bd1237340ede8993df5a40f;p=cubist_cms-back.git wait #5383 @0.5 --- diff --git a/src/public/bunchmultiple/bunchmultiple.js b/src/public/bunchmultiple/bunchmultiple.js index 0ba2869..54689ac 100644 --- a/src/public/bunchmultiple/bunchmultiple.js +++ b/src/public/bunchmultiple/bunchmultiple.js @@ -162,11 +162,10 @@ }); val = kvval; } - var hidden=this.element.find('.hiddenfield' + this.bmidselector); - if ($(hidden).attr('name').indexOf('chapters') >= 0) { - var jsonval = JSON.stringify(val); - $(hidden).val(jsonval); - } + var hidden = this.element.find('.hiddenfield' + this.bmidselector); + + var jsonval = JSON.stringify(val); + $(hidden).val(jsonval); }, updateLegends: function () {