mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
Delay wp_tiny_mce_preload_dialogs to the footer, as occurs in admin-header. props ocean90, fixes #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ca0be1c1e
commit
a0313cde8c
@ -346,7 +346,7 @@ var photostorage = false;
|
||||
|
||||
if ( user_can_richedit() ) {
|
||||
wp_tiny_mce( true, array( 'height' => '370' ) );
|
||||
wp_tiny_mce_preload_dialogs();
|
||||
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30 );
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
|
Loading…
x
Reference in New Issue
Block a user