Commit c71f3cac authored by Arnaud AUZOLAT's avatar Arnaud AUZOLAT
Browse files

Merge branch '511-les-conditions-sur-les-champs-radio-ne-fonctionne-pas' into '2.0.2'

Resolve "Les conditions sur les champs radio ne fonctionne pas"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!474
parents 8f43405a 9902cb47
......@@ -444,8 +444,7 @@ $line = 1;
}
// Si le champ est de type "radio"
// if ($('#'+value['hasValue']).attr('type') == "radio") {
if ($('input[type="radio"][value="'+value['hasValue']+'"]').length === 1) {
if ($('input[type="radio"][value="'+value['hasValue']+'"][name="data[WebdpoFiche]['+value['ifTheField']+']"]').length === 1) {
// Quand le changer est affiché
$(valueIfTheField).parent().parent().on('show', function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment