Ticket #7733: 7733.patch

File 7733.patch, 646 bytes (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/flash/dialogs/flash.js

     
    124124                        switch ( attrDef.type )
    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();
    130131                                        if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy