forms: remove widget-prefilled class on radio/checkbox change (#52054)
This commit is contained in:
parent
4235227cbc
commit
903b424a1c
|
@ -391,6 +391,9 @@ $(function() {
|
|||
$('div.widget-prefilled').on('change input paste', function(ev) {
|
||||
$(this).removeClass('widget-prefilled');
|
||||
});
|
||||
$('div.widget-prefilled input[type=radio], div.widget-prefilled input[type=checkbox]').on('change', function(ev) {
|
||||
$(this).closest('div.widget').removeClass('widget-prefilled');
|
||||
});
|
||||
|
||||
/* searchable select */
|
||||
$('select[data-autocomplete]').each(function(i, elem) {
|
||||
|
|
Loading…
Reference in New Issue