From 6f5e124384fd7240c9af0e13182e6efc7c43b1dd Mon Sep 17 00:00:00 2001 From: Verneuil Julien Date: Thu, 16 Jul 2015 00:10:06 +0200 Subject: [PATCH] fix radio groups problem --- web/jQuery/CXM_jq_radio.anubis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/jQuery/CXM_jq_radio.anubis b/web/jQuery/CXM_jq_radio.anubis index 2b64837..1215fda 100644 --- a/web/jQuery/CXM_jq_radio.anubis +++ b/web/jQuery/CXM_jq_radio.anubis @@ -57,7 +57,8 @@ define String if radio_group is { group(name) then - "$('.radio-group-" + name + "').addClass('unchecked');", + with jq_selector = "$('.radio-group-" + name + ":not(#" + radio_id + ")')", + jq_selector + ".addClass('unchecked').removeClass('checked');", none then "" -- libgit2 0.21.4