mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-25 17:51:27 +01:00
Don't filter_visible() when making key callbacks to accommodate hidden-until-hover actions. see #8386
git-svn-id: http://svn.automattic.com/wordpress/trunk@9946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b441fccab2
commit
7df0f31a5b
@ -58,7 +58,7 @@
|
|||||||
var make_key_callback = function(expr) {
|
var make_key_callback = function(expr) {
|
||||||
return function() {
|
return function() {
|
||||||
if ( null == $.table_hotkeys.current_row ) return false;
|
if ( null == $.table_hotkeys.current_row ) return false;
|
||||||
var clickable = $(expr, $.table_hotkeys.current_row).filter_visible();
|
var clickable = $(expr, $.table_hotkeys.current_row);
|
||||||
if (!clickable.length) return false;
|
if (!clickable.length) return false;
|
||||||
if (clickable.is('.'+destructive_class)) next_row() || prev_row();
|
if (clickable.is('.'+destructive_class)) next_row() || prev_row();
|
||||||
clickable.click();
|
clickable.click();
|
||||||
|
Loading…
Reference in New Issue
Block a user