Media: Make the window-wide uploader a subview of the frame view.

Allows the uploader to leverage the ready event to know when it has been attached to the page.

see #21390.


git-svn-id: https://develop.svn.wordpress.org/trunk@22790 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-11-21 20:27:49 +00:00
parent 8be5a507aa
commit bf42e8a402
2 changed files with 12 additions and 26 deletions
+1
View File
@@ -1406,6 +1406,7 @@ function wp_print_media_templates( $attachment ) {
<div class="media-frame-content"></div>
<div class="media-frame-sidebar"></div>
<div class="media-frame-toolbar"></div>
<div class="media-frame-uploader"></div>
</script>
<script type="text/html" id="tmpl-media-modal">