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.

Comments

juampynr’s picture

Status: Active » Needs review
StatusFileSize
new3.73 KB

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

juampynr’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
StatusFileSize
new4.87 KB

And here is a patch for the Drupal 7 version.

damontgomery’s picture

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

thijsvdanker’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Good stuff, works like a charm and I need it :)

@pandaeskimo, better to pick our battles one issue at a time I think.

bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x-3.x, thanks.

  • bojanz committed 75a0087 on 7.x-3.x authored by juampy
    Issue #1781704 by juampy: Added Make the ability to click on a row and...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Anonymous’s picture

Status: Closed (fixed) » Active

This 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?

bojanz’s picture

Status: Active » Closed (fixed)

3.2 was released 6 months before this patch was committed. You will need to use the -dev version until 3.3 is released.