Commit 6f5e124384fd7240c9af0e13182e6efc7c43b1dd

Authored by Julien Verneuil
1 parent 991a338f

fix radio groups problem

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
web/jQuery/CXM_jq_radio.anubis
... ... @@ -57,7 +57,8 @@ define String
57 57 if radio_group is
58 58 {
59 59 group(name) then
60   - "$('.radio-group-" + name + "').addClass('unchecked');",
  60 + with jq_selector = "$('.radio-group-" + name + ":not(#" + radio_id + ")')",
  61 + jq_selector + ".addClass('unchecked').removeClass('checked');",
61 62  
62 63 none then
63 64 ""
... ...