Media in QuickPress: Ensure wpActiveEditor is set when the "Add Media" button is clicked. fixes #22021, see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22542 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
57b09463e6
commit
e672eb2166
@ -108,7 +108,9 @@ jQuery(document).ready( function($) {
|
||||
});
|
||||
});
|
||||
|
||||
$('#dashboard_quick_press #title, #dashboard_quick_press #content').focus(function(){ wpActiveEditor = 'content'; });
|
||||
$('#quick-press').on( 'click focusin', function() {
|
||||
wpActiveEditor = 'content';
|
||||
});
|
||||
};
|
||||
quickPressLoad();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user