Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2012 at 08:44 UTC
Updated:
11 Jun 2012 at 14:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
damiankloip commentedThat would make sense. I may look at a patch for this, my js skills aren't the best though ;)
Comment #2
damiankloip commentedOk, here is a patch that works. Whether or not there is a better way to achieve this with javascript, I'm not sure. Open to criticism!
Comment #4
damiankloip commentedupdated patch
Comment #6
damiankloip commentedhang on, how did that .not stay in there :) I'm sure I got rid of that. Here is the correct patch.
Comment #7
damiankloip commentedThat's better, forgot to change issue to the dev branch.
Comment #8
yannickooInstead of setting the checked attribute to zero you could remove it with removeAttr().
BTW please check the "Name your patch" section in the Submitting patches in the Patches chapter.
Comment #9
damiankloip commentedOk, Thanks for the js tips, I can always do with some of those :) If we are sticking to the format in that issue maybe it should be like this...
Comment #10
dawehnerCouldn't we reuse the selector from above?
Comment #11
damiankloip commentedok, I think I know what you mean. How about this?
Comment #12
damiankloip commentedComment #13
damiankloip commentedAfter talking to dawehner on IRC, something more like this maybe? So the code that unchecks the 'all' checkbox is in it's own loop.
Comment #14
dawehnerThanks, committed this version to 7.x-3.x and 8.x-3.x, hopefully noone will complain about the different behaviour,
but i prefer personally the new one.
Comment #15
damiankloip commentedNew one is much better :)