mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Accessibility: Handle one more case of focus loss when switching view in the Media Views.
See #43169. git-svn-id: https://develop.svn.wordpress.org/trunk@45531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -389,6 +389,8 @@ Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
|
||||
|
||||
click: function() {
|
||||
this.controller.content.mode('browse');
|
||||
// Move focus to the modal when jumping back from Edit Selection to Add Media view.
|
||||
this.controller.modal.focusManager.focus();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user