Created
May 27, 2015 10:05
-
-
Save 4aficiona2/d8ac7cc521c7b6346534 to your computer and use it in GitHub Desktop.
Drupal permissions - check all checkboxes for a certain role "/de/admin/people/permissions/?" if none are selected, otherwise they get inverted (disselected)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery("#permissions") | |
.find("input.real-checkbox[type=checkbox]") | |
.click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment