[wp-trac] [WordPress Trac] #37973: When searching installed plugins "select all" checkbox fails

WordPress Trac noreply at wordpress.org
Sun Oct 2 08:56:15 UTC 2016


#37973: When searching installed plugins "select all" checkbox fails
--------------------------+-------------------------
 Reporter:  corradomatt   |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.7
Component:  Plugins       |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-------------------------

Comment (by swissspidy):

 Replying to [comment:9 afercia]:
 > Replying to [comment:8 ocean90]:
 > > Looks like `$('tbody').children().children('.check-
 column').find(':checkbox').click( function(e) {}` needs also to be
 delegated.
 > Hm if I get it correctly that block of JS is meant to invert the
 selection, right? I was unaware this functionality even existed and it
 seems it's not communicated in the UI interface in any way. Unless I'm
 missing something, I'd be in favour of removing it entirely.

 That code is used for checking the boxes in combination with pressing the
 shift key, e.g. when clicking the 1st and shift-clicking the 5th item
 afterwards, checkboxes 2-4 will be checked as well.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37973#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list