Use <button> instead of <a> for non-link links in Quick Edit.
Props afercia. Fixes #32213. Built from https://develop.svn.wordpress.org/trunk@32869 git-svn-id: http://core.svn.wordpress.org/trunk@32840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -22,10 +22,10 @@ inlineEditPost = {
|
||||
}
|
||||
});
|
||||
|
||||
$('a.cancel', qeRow).click(function(){
|
||||
$( '.cancel', qeRow ).click( function() {
|
||||
return inlineEditPost.revert();
|
||||
});
|
||||
$('a.save', qeRow).click(function(){
|
||||
$( '.save', qeRow ).click( function() {
|
||||
return inlineEditPost.save(this);
|
||||
});
|
||||
$('td', qeRow).keydown(function(e){
|
||||
@@ -34,7 +34,7 @@ inlineEditPost = {
|
||||
}
|
||||
});
|
||||
|
||||
$('a.cancel', bulkRow).click(function(){
|
||||
$( '.cancel', bulkRow ).click( function() {
|
||||
return inlineEditPost.revert();
|
||||
});
|
||||
|
||||
|
||||
2
wp-admin/js/inline-edit-post.min.js
vendored
2
wp-admin/js/inline-edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user