From 8d2adfbbd28b54dbf0e17a2379f1281930073d19 Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass <95754414+bdalsass@users.noreply.github.com> Date: Fri, 7 Jun 2024 08:17:38 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05298=20-=20Upgrade=20CKEditor=20to=20ver?= =?UTF-8?q?sion=205=20-=20fix=20portal=20issue=20when=20choosing=20a=20tex?= =?UTF-8?q?t=20color,=20text=20area=20value=20is=20replaced=20by=20hexadec?= =?UTF-8?q?imal=20color=20text=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/form_field.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/form_field.js b/js/form_field.js index 017c421f0..2ebcebf72 100644 --- a/js/form_field.js +++ b/js/form_field.js @@ -75,9 +75,9 @@ $(function() getCurrentValue: function() { var value = null; - + this.element.find(':input:not(:button)').each(function(iIndex, oElem){ - if($(oElem).is(':hidden:not(.ck-hidden)') || $(oElem).is(':text') || $(oElem).is(':password') || $(oElem).is('textarea')) + if($(oElem).is(':hidden:not(.ck-hidden,.ck-input-text)') || $(oElem).is(':text:not(.ck-input-text)') || $(oElem).is(':password') || $(oElem).is('textarea')) { value = $(oElem).val(); }