Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
87a8ae176a
commit
78b67c6387
@ -72,6 +72,9 @@ setCommentsList = function() {
|
||||
return false;
|
||||
});
|
||||
|
||||
if ( to )
|
||||
window.clearTimeout(to);
|
||||
|
||||
to = window.setTimeout( function(){
|
||||
$('#trashundo-' + id).fadeOut('slow', function(){ $(this).remove(); });
|
||||
}, 7000 );
|
||||
|
File diff suppressed because one or more lines are too long
@ -253,7 +253,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array('jquery'), '20090514' );
|
||||
$scripts->add_data( 'user-profile', 'group', 1 );
|
||||
|
||||
$scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20091102' );
|
||||
$scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20091106' );
|
||||
$scripts->add_data( 'admin-comments', 'group', 1 );
|
||||
$scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
|
||||
'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user