`wp.media` instead of just `media`. props alexkingorg, see #22676.

git-svn-id: http://core.svn.wordpress.org/trunk@22974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-02 19:24:22 +00:00
parent 7677c12566
commit d8c942f26c
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ window.wp = window.wp || {};
date: new Date(),
filename: file.name,
menuOrder: 0,
uploadedTo: media.model.settings.postId
uploadedTo: wp.media.model.settings.postId
}, _.pick( file, 'loaded', 'size', 'percent' ) );
// Handle early mime type scanning for images.