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:
scribu
2010-10-07 09:53:37 +00:00
parent d8596259e2
commit eb178ad876
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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();
});
});
});