Media: Return to the library when the editing a selection and all items get de-selected. props koopersmith. fixes #22715.
git-svn-id: http://core.svn.wordpress.org/trunk@23051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aaf5d77d35
commit
d720772ef3
|
@ -489,7 +489,7 @@
|
|||
refreshContent: function() {
|
||||
var selection = this.get('selection'),
|
||||
frame = this.frame,
|
||||
router = frame.router,
|
||||
router = frame.router.get(),
|
||||
mode = frame.content.mode();
|
||||
|
||||
if ( this.active && ! selection.length && ! router.get( mode ) )
|
||||
|
|
Loading…
Reference in New Issue