Skip to content

Commit

Permalink
popover ignore checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoglom committed Apr 8, 2016
1 parent 773c9b3 commit 6cc5287
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion intranet/static/js/eighth/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ $(function() {
var $checkboxes = $blocksOfType.find("input[type='checkbox']");
// Ignore special and unschedule checkbox
$checkboxes.each(function() {
if(!$(this).hasClass("special") && !$(this).hasClass("unschedule")) {
if(!$(this).hasClass("special") &&
!$(this).hasClass("administrative") &&
!$(this).hasClass("restricted") &&
!$(this).hasClass("sticky") &&
!$(this).hasClass("unschedule")) {
$(this).prop("checked", true);
}
});
Expand Down

0 comments on commit 6cc5287

Please sign in to comment.