Penthi/django-grappelli — comment on commit e53bbceaa5b277edd7ae0573236487aaf3d25bac
File: grappelli/static/grappelli/js/actions.min.js line 21
By Penthi:

If you just toggle, you get wrong highlighted lines if all except one line are checked and you then check the "check all" box. Then only the previously unchecked line is highlighted and all others are in non-highlighted visual state, but still checked.

Also the attr function does not return on every browser the element it was called on, especially older ones.

While the attr function can be a show stopper, the highlighting of the lines is just a little incorrect, it looks slightly better this way ;)