[wp-trac] [WordPress Trac] #28857: Media Grid: Manage focus when toggling between the grid and an edit attachment modal
WordPress Trac
noreply at wordpress.org
Fri Jul 25 20:46:53 UTC 2014
#28857: Media Grid: Manage focus when toggling between the grid and an edit
attachment modal
---------------------------+----------------------------------------
Reporter: davidakennedy | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility, javascript
---------------------------+----------------------------------------
Comment (by adamsilverstein):
I worked on this a little bit and wound up with far more complicated code
that seems harder to maintain; part of the issue is that the modal is
repeatedly closed and reopened in resetContent inside
MediaFrame.EditAttachments;
Any actions attached to the modal in MediaFrame.Manage are lost when the
modal is destroyed/opened. Perhaps watching for the div itself would work,
seems more complicated than the current solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28857#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list