From 330c364c8509b8c071bbe25b9812821652fa3055 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 21 Jun 2023 08:09:51 -0400 Subject: [PATCH] add code comment --- js/model/crm.uf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/model/crm.uf.js b/js/model/crm.uf.js index f92dcb1e0d..af67b2ecdc 100644 --- a/js/model/crm.uf.js +++ b/js/model/crm.uf.js @@ -363,6 +363,7 @@ }); this.each(function(ufFieldModel){ const length = ufFieldModelsByKey[ufFieldModel.getSignature()].length > 1; + // Allow multiple free html fields, but note this would only work on an English install, and only if the field label hasn't been changed. const label = ufFieldModelsByKey[ufFieldModel.getSignature()][0].attributes.label !== 'Free HTML'; const is_duplicate = length && label; if (is_duplicate !== ufFieldModel.get('is_duplicate')) { -- 2.25.1