TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399

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


git-svn-id: http://core.svn.wordpress.org/trunk@29423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-08-27 18:23:18 +00:00
parent d0a37ea07c
commit c59604e137
2 changed files with 2 additions and 1 deletions

View File

@ -135,6 +135,7 @@ window.wp = window.wp || {};
iframe, iframeDoc, i, resize;
content.innerHTML = '';
head = head || '';
if ( importStyles ) {
if ( ! wp.mce.views.sandboxStyles ) {

File diff suppressed because one or more lines are too long