Currently, if you click anywhere in a row the checkbox gets activated. Making this behaviour optional allows having other features such as in-place editing without any collisions.
A patch will be attached in the next comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_bulk_operations-make-clickable-row-optional-1781704-2.patch | 4.87 KB | juampynr |
| #1 | views_bulk_operations-make-clickable-row-optional-1781704-1.patch | 3.73 KB | juampynr |
Comments
Comment #1
juampynr commentedHere it is. Adds an option 'Make the whole row clickable' at the VBO settings and then evaluates it at the javascript in order to add the behaviour or not.
Comment #2
juampynr commentedAnd here is a patch for the Drupal 7 version.
Comment #3
damontgomery commentedMaybe we should merge these two patches, (mine below),
http://drupal.org/node/1824524
I this your patch is a great idea, but I would have to remake mine if yours goes through / vice versa. Might as well clean up all the problematic checkbox code in one go.
Comment #4
thijsvdanker commentedGood stuff, works like a charm and I need it :)
@pandaeskimo, better to pick our battles one issue at a time I think.
Comment #5
bojanz commentedCommitted to 7.x-3.x, thanks.
Comment #8
Anonymous (not verified) commentedThis feature is not in the current 3.2 build. Pretty sure it was in the prior version but it appears to have been omitted in 3.2.
It's available in dev but I'd rather not implement the dev version.
Is it possible to get this reapplied to the 3.2 version?
Comment #9
bojanz commented3.2 was released 6 months before this patch was committed. You will need to use the -dev version until 3.3 is released.