Skip to content

Commit

Permalink
Added support for a second variant of for tags in elements
Browse files Browse the repository at this point in the history
  • Loading branch information
remifrazierucsf committed Oct 13, 2021
1 parent d5f993b commit 3e83f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/hide_choice_by_event.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ $(document).ready(function() {
//hide option if we are on the right event
if(setting.event.indexOf(current_event) != -1) {
$('#label-' + field + '-' + setting.code).parent().hide(); //standard buttons
$('[for="opt-' + field + '_' + setting.code + '"]').parent().hide(); //enhanced buttons
$('[for="opt-' + field + '_' + setting.code + '"]').parent().hide(); //enhanced buttons variant 1
$('[for="id-__chk__' + field + '_RC_' + setting.code + '"]').parent().hide(); //enhanced buttons variant 2
}
}
}
Expand Down

0 comments on commit 3e83f6d

Please sign in to comment.