Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43984, comment 1


Ignore:
Timestamp:
05/07/2018 10:44:01 AM (9 years ago)
Author:
subrataemfluence

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43984, comment 1

    initial v1  
    11I could reproduce the issue.
     2
     3Since`window.tinymce.ui.FloatPanel` is **undefined**, `window.tinymce.ui.FloatPanel.zIndex` is throwing the above error, i.e. `zIndex of undefined`. I am trying to find out.
     4
     5Source file:
     6{{{
     7/wp-admin/js/customize-controls.js
     8}}}
     9
     10Line #: 9259
     11
     12Code block:
     13
     14{{{
     15if ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) {
     16   window.tinymce.ui.FloatPanel.zIndex = 500001;
     17}
     18}}}