mirror of https://github.com/apache/cloudstack.git
CS-13861: Fix 'isChecked: false' not working on IE
This commit is contained in:
parent
05964ea465
commit
cab83385b4
|
|
@ -254,6 +254,11 @@
|
|||
$input = $('<input>').attr({ name: key, type: 'checkbox' }).appendTo($value);
|
||||
if (field.isChecked) {
|
||||
$input.attr('checked', 'checked');
|
||||
} else {
|
||||
// This is mainly for IE compatibility
|
||||
setTimeout(function() {
|
||||
$input.attr('checked', false);
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
} else if (field.dynamic) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue