Changeset 401
- Timestamp:
- 2007-06-30 23:07:29 (3 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/internals/fckdocumentprocessor.js (modified) (2 diffs)
-
editor/_source/internals/fck.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js
r249 r401 144 144 var oCloned = oEmbed.cloneNode( true ) ; 145 145 146 // On IE, some properties are not getting clonned properly, so we147 // must fix it. Thanks to Alfonso Martinez.148 if ( FCKBrowserInfo.IsIE )149 {150 var aAttributes = [ 'scale', 'play', 'loop', 'menu', 'wmode', 'quality' ] ;151 for ( var iAtt = 0 ; iAtt < aAttributes.length ; iAtt++ )152 {153 var oAtt = oEmbed.getAttribute( aAttributes[iAtt] ) ;154 if ( oAtt ) oCloned.setAttribute( aAttributes[iAtt], oAtt ) ;155 }156 // It magically gets lost after reading it in oType157 oCloned.setAttribute( 'type', oType.nodeValue ) ;158 }159 160 146 var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oCloned ) ; 161 147 oImg.setAttribute( '_fckflash', 'true', 0 ) ; … … 165 151 oEmbed.parentNode.insertBefore( oImg, oEmbed ) ; 166 152 oEmbed.parentNode.removeChild( oEmbed ) ; 167 168 // oEmbed.setAttribute( '_fcktemp', 'true', 0) ;169 // oEmbed.style.display = 'none' ;170 // oEmbed.hidden = true ;171 153 } 172 154 } -
FCKeditor/trunk/editor/_source/internals/fck.js
r400 r401 298 298 // IE doesn't support <abbr> and it breaks it. Let's protect it. 299 299 if ( FCKBrowserInfo.IsIE ) 300 sTags += sTags.length > 0 ? '|ABBR|XML ' : 'ABBR|XML' ;300 sTags += sTags.length > 0 ? '|ABBR|XML|EMBED' : 'ABBR|XML|EMBED' ; 301 301 302 302 var oRegex ; -
FCKeditor/trunk/_whatsnew.html
r400 r401 56 56 Patch 1511298</a>] The CF Component failed on CFMX 6.0</li> 57 57 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the 58 FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined"</li> 58 FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li> 59 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED 60 attributes handling in IE.</li> 59 61 </ul> 60 62 <h3>