TinyMCE: Set undefined FloatPanel zIndex

See [40995] for the Customizer.
Fixes #42322.


Built from https://develop.svn.wordpress.org/trunk@41993


git-svn-id: http://core.svn.wordpress.org/trunk@41827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ella Iseulde Van Dorpe 2017-10-24 16:52:56 +00:00
parent 226263bfec
commit abc1579a42
4 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* global getUserSetting, setUserSetting */
( function( tinymce ) {
// Set the minimum value for the modals z-index higher than #wpadminbar (100000)
if ( tinymce.ui.FloatPanel.zIndex < 100100 ) {
if ( ! tinymce.ui.FloatPanel.zIndex || tinymce.ui.FloatPanel.zIndex < 100100 ) {
tinymce.ui.FloatPanel.zIndex = 100100;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta3-41992';
$wp_version = '4.9-beta3-41993';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.