From 0f1ae7a00bb551b571cd07f416c36bf94548e96f Mon Sep 17 00:00:00 2001 From: Russell Michell Date: Fri, 23 Aug 2013 15:30:16 +1200 Subject: [PATCH] BUGFIX: - Fixes issue with CMS permissions checkbox, which won't un-toggle checked-checkboxes, after being clicked a 2nd time --- javascript/PermissionCheckboxSetField.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/PermissionCheckboxSetField.js b/javascript/PermissionCheckboxSetField.js index ef53e910e..5e234befe 100644 --- a/javascript/PermissionCheckboxSetField.js +++ b/javascript/PermissionCheckboxSetField.js @@ -77,8 +77,8 @@ }); } else { checkboxes.each(function() { - $(this).attr('checked', ''); - $(this).attr('disabled', ''); + $(this).prop('checked', false); + $(this).prop('disabled', false); }); } }