Skip to content

Commit cab8338

Browse files
committed
CS-13861: Fix 'isChecked: false' not working on IE
1 parent 05964ea commit cab8338

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎ui/scripts/ui/dialog.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@
254254
$input = $('<input>').attr({ name: key, type: 'checkbox' }).appendTo($value);
255255
if (field.isChecked) {
256256
$input.attr('checked', 'checked');
257+
} else {
258+
// This is mainly for IE compatibility
259+
setTimeout(function() {
260+
$input.attr('checked', false);
261+
}, 100);
257262
}
258263
}
259264
} else if (field.dynamic) {

0 commit comments

Comments
 (0)