Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached is a patch that adds the ability for power users to shift + click a checkbox to mass check all checkboxes above that checkbox.
A checkbox needs to be selected above the checkbox that is shift + clicked and all the checkboxes in the middle will be selected.
I also moved the code in ready() into its own function inside a Drupal.betterselect namespace. The namespace also has a check() function for handling setting the highlight class and if the check is checked. damn i said check wayyyy too much there...
Comment | File | Size | Author |
---|---|---|---|
betterselect_poweruser.patch | 2.37 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedoh and i tested this in Safari 3.1 / Firefox 3 on OS X and IE6 on Windows XP.
Comment #2
webchickThis is AWESOME!!! :D
One *minor* nit: is it possible to click anywhere in the option row, rather than directly right on the text? It's totally fine if the answer is "no." :)
Comment #3
webchickAlso, bumping this to critical because it's AWESOME and it should totally make it in before the official release.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedumm.. i'll have to look into that. im assuming the answer will be no but will check.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedok.
i can do this.
changing status right now but its actually done. my internet connection has ports blocked so i cant create a patch. arg, and im going to hate having to merge all these 3 tickets im doing on both drupal versions.
Comment #6
Mark Theunissen CreditAttribution: Mark Theunissen commentedHi everyone. I'm a new maintainer for this module. ;)
This feature looks great, if you still want it, please re-roll the patch against the Drupal 6 branch!
Thanks!