Quick Edit: on the Taxonomies screens, prevent a page reload when pressing Enter on a focused field.
Fixes #35401 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@36260 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c4526edeec
commit
68d4b23608
@ -284,6 +284,7 @@ inlineEditPost = {
|
||||
}
|
||||
},
|
||||
'html');
|
||||
// Prevent submitting the form when pressing Enter on a focused field.
|
||||
return false;
|
||||
},
|
||||
|
||||
|
@ -137,6 +137,8 @@ inlineEditTax = {
|
||||
}
|
||||
}
|
||||
);
|
||||
// Prevent submitting the form when pressing Enter on a focused field.
|
||||
return false;
|
||||
},
|
||||
|
||||
revert : function() {
|
||||
|
Loading…
Reference in New Issue
Block a user