mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user