Skip to content

Commit

Permalink
Fix EZP-20676: JS error inserting embed-inline tag on empty XML block…
Browse files Browse the repository at this point in the history
… in ezoe
  • Loading branch information
dpobel committed Jun 3, 2013
1 parent fad9a6a commit 2c05f05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tinyMCEPopup.onInit.add( eZOEPopupUtils.BIND( eZOEPopupUtils.init, window, {
if ( contentType === 'images' || compatibilityMode === 'enabled' )
return '<img id="__mce_tmp" src="JavaScript:void(0);" />';
if ( jQuery('#embed_inline_source').attr( 'checked' ) )
return '<span id="__mce_tmp"></span>';
return '<span id="__mce_tmp">ezembed</span>';
return '<div id="__mce_tmp"></div>';
},
onTagGenerated: function( el, ed, args )
Expand Down

0 comments on commit 2c05f05

Please sign in to comment.