JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _source / plugins / flash / plugin.js
index 29117ba..41814e3 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -109,7 +109,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                        // Look for the inner <embed>\r
                                                                        for ( var i = 0 ; i < element.children.length ; i++ )\r
                                                                        {\r
-                                                                               if ( element.children[ i ].name == 'embed' )\r
+                                                                               if ( element.children[ i ].name == 'cke:embed' )\r
                                                                                {\r
                                                                                        if ( !isFlashEmbed( element.children[ i ] ) )\r
                                                                                                return null;\r