mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Quick Edit: on the Taxonomies screens, prevent a page reload when pressing Enter on a focused field.
Merges [36260 to the 4.4 branch. Props afercia. Fixes #35401. git-svn-id: https://develop.svn.wordpress.org/branches/4.4@36355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bbaa6b6f71
commit
5f3823b83a
@ -137,6 +137,8 @@ inlineEditTax = {
|
||||
}
|
||||
}
|
||||
);
|
||||
// Prevent submitting the form when pressing Enter on a focused field.
|
||||
return false;
|
||||
},
|
||||
|
||||
revert : function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user