1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

Fixed model binder for checkboxes

This commit is contained in:
Mark McDowall 2013-04-27 23:48:06 -07:00
parent c3c6c8ac01
commit 9345211536

View file

@ -412,7 +412,8 @@
break;
case 'checkbox':
if (convertedValue) {
el.attr('checked', 'checked');
//Fixing this while we wait for an official update
el.prop('checked', 'checked');
}
else {
el.removeAttr('checked');