[wp-trac] [WordPress Trac] #6541: Shift-click to select a range of checkboxes

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 2 03:28:28 GMT 2008


#6541: Shift-click to select a range of checkboxes
-------------------------+--------------------------------------------------
 Reporter:  mdawaffe     |       Owner:  anonymous            
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  2.6                  
Component:  General      |     Version:  2.5                  
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------
 Everyone loves how you can click a checkbox in gmail and then shift click
 another checkbox farther down the line to select all the checkboxes in
 between.

 We have the power to do that in WordPress too.

 Attached:
  1. Naively checks (or unchecks) all checkboxes between your last click
 and a shift click.
  2. Gets rid of some JS functions that are never used in core.
  3. checkAll maintains its (strange?) behavior of toggling each individual
 checkbox rather than checking or unchecking all checkboxes.
  4. Gets rid of some inline JS.

 Caveat: The JS is not very generic.  It's written to work with the markup
 used in WP.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6541>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list