Ticket #5924: 0001-enable-flash-detection-without-embed-tag.patch

File 0001-enable-flash-detection-without-embed-tag.patch, 928 bytes (added by jstrahan, 14 years ago)
  • js/ckeditor/_source/plugins/flash/plugin.js

    From 8a5ee192dd5149bd49fecf4a6274ce67fd0f63e8 Mon Sep 17 00:00:00 2001
    From: Julian Strahan <jstrahan@platformvm.smallworldlabs.com>
    Date: Fri, 2 Jul 2010 10:05:38 -0500
    Subject: [PATCH] enable flash detection without embed tag
    
    ---
     js/ckeditor/_source/plugins/flash/plugin.js |    3 +++
     1 files changed, 3 insertions(+), 0 deletions(-)
    
    diff --git a/js/ckeditor/_source/plugins/flash/plugin.js b/js/ckeditor/_source/plugins/flash/plugin.js
    index 41814e3..de250b8 100644
    a b For licensing, see LICENSE.html or http://ckeditor.com/license 
    106106
    107107                                                                if ( !classId )
    108108                                                                {
     109                                                                        if (isFlashEmbed( element ))
     110                                                                                return createFakeElement( editor, element );
     111
    109112                                                                        // Look for the inner <embed>
    110113                                                                        for ( var i = 0 ; i < element.children.length ; i++ )
    111114                                                                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy