mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Media in QuickPress: Ensure wpActiveEditor is set when the "Add Media" button is clicked. fixes #22021, see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
82213846c3
commit
1e19ec5fb4
@ -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