Changeset 6929 for CKEditor/trunk


Ignore:
Timestamp:
05/17/11 15:16:05 (4 years ago)
Author:
Saare
Message:

#7733: Flash movies will be assigned with the data attribute only when required.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r6926 r6929  
    5555                <li><a href="http://dev.ckeditor.com/ticket/6845">#6845</a> : Spaces inside the link field in the link dialog window will now be trimmed.</li> 
    5656                <li><a href="http://dev.ckeditor.com/ticket/7840">#7840</a> : [IE] Opening the Table Properties dialog via the context menu caused a JS error.</li> 
     57                <li><a href="http://dev.ckeditor.com/ticket/7733">#7733</a> : Flash movies inserted with the flash dialog window were not displaying properly when injected to the page.</li> 
    5758                <li>Updated the following language files:<ul> 
    5859                        <li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li> 
  • CKEditor/trunk/_source/plugins/flash/dialogs/flash.js

    r6455 r6929  
    125125                        { 
    126126                                case ATTRTYPE_OBJECT: 
    127                                         if ( !objectNode ) 
     127                                        // Avoid applying the data attribute when not needed (#7733) 
     128                                        if ( !objectNode || ( attrDef.name == 'data' && embedNode && !objectNode.hasAttribute( 'data' ) ) ) 
    128129                                                continue; 
    129130                                        var value = this.getValue(); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy