WordPress.org

Make WordPress Core

Changeset 22612


Ignore:
Timestamp:
11/16/2012 10:30:36 AM (8 years ago)
Author:
koopersmith
Message:

Media: zIndex peace was only temporary.

Revert [22611] in favor of using plupload's container setting. Turns out, plupload's flash shim is forced to the exact same index as the admin bar, so balancing the two is better solved by nesting the shim.

see #22441, #22446, #21390.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/css/media-views.css

    r22611 r22612  
    2525    right: 40px;
    2626    bottom: 40px;
    27     z-index: 50000;
     27    z-index: 125000;
    2828}
    2929
     
    3636    background: #000;
    3737    opacity: 0.8;
    38     z-index: 40000;
     38    z-index: 120000;
    3939}
    4040
     
    672672    background: rgba( 0, 86, 132, 0.9 );
    673673
    674     z-index: 200000;
     674    z-index: 250000;
    675675    display: none;
    676676    text-align: center;
  • trunk/wp-includes/js/media-views.js

    r22597 r22612  
    660660                this.uploader = new media.view.UploaderWindow({
    661661                    uploader: {
    662                         dropzone: this.modal ? this.modal.$el : this.$el
     662                        dropzone:  this.modal ? this.modal.$el : this.$el,
     663                        container: this.$el
    663664                    }
    664665                });
Note: See TracChangeset for help on using the changeset viewer.