Media: Return to the library when the editing a selection and all items get de-selected. props koopersmith. fixes #22715.
git-svn-id: https://develop.svn.wordpress.org/trunk@23051 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4e94295826
commit
3fd91ed4cf
|
@ -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