From cab83385b458f04841952eff30acae897d687d84 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 17 May 2012 12:34:33 -0700 Subject: [PATCH] CS-13861: Fix 'isChecked: false' not working on IE --- ui/scripts/ui/dialog.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index 9b659b26863..b560f1673a6 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -254,6 +254,11 @@ $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) {