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:
Scott Taylor
2015-06-19 21:42:27 +00:00
parent 38037c8d62
commit 86beb35f6d
4 changed files with 7 additions and 7 deletions

View File

@@ -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();
});

File diff suppressed because one or more lines are too long