[wp-trac] [WordPress Trac] #20261: The 'check all' checkboxes don't get checked/unchecked when appropriate

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 1 02:28:26 UTC 2012


#20261: The 'check all' checkboxes don't get checked/unchecked when appropriate
-----------------------------------------------+---------------------------
 Reporter:  johnbillion                        |       Owner:
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  Administration                     |  Review
 Severity:  minor                              |     Version:  3.3.1
 Keywords:  has-patch ux-feedback 2nd-opinion  |  Resolution:
-----------------------------------------------+---------------------------

Comment (by dd32):

 A combination could be used.

 If the action is uncheck, skip iteration, we know not all are checked.

 We can also shift the iteration into jQuery itself, by using the
 {{{:checkbox :not(:checked)}}} selector to select any checkboxes that are
 NOT checked, If empty, they're all selected.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20261#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list