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...

CommentFileSizeAuthor
betterselect_poweruser.patch2.37 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

oh and i tested this in Safari 3.1 / Firefox 3 on OS X and IE6 on Windows XP.

webchick’s picture

This 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." :)

webchick’s picture

Priority: Normal » Critical

Also, bumping this to critical because it's AWESOME and it should totally make it in before the official release.

Anonymous’s picture

umm.. i'll have to look into that. im assuming the answer will be no but will check.

Anonymous’s picture

Status: Needs review » Needs work

ok.

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.

Mark Theunissen’s picture

Hi 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!