mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -256,7 +256,7 @@ jQuery(document).ready( function($) {
|
||||
return true;
|
||||
});
|
||||
|
||||
$('thead, tfoot').find(':checkbox').click( function(e) {
|
||||
$('thead, tfoot').find('.check-column :checkbox').click( function(e) {
|
||||
var c = $(this).attr('checked'),
|
||||
kbtoggle = 'undefined' == typeof toggleWithKeyboard ? false : toggleWithKeyboard,
|
||||
toggle = e.shiftKey || kbtoggle;
|
||||
@@ -322,4 +322,4 @@ jQuery(document).ready( function($) {
|
||||
if ( this.lastKey && 9 == this.lastKey )
|
||||
this.focus();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user