JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / plugins / flash / dialogs / flash.js
index 861cc34..0a2268b 100644 (file)
@@ -190,7 +190,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
                                // Try to detect any embed or object tag that has Flash parameters.\r
                                var fakeImage = this.getSelectedElement();\r
-                               if ( fakeImage && fakeImage.getAttribute( '_cke_real_element_type' ) && fakeImage.getAttribute( '_cke_real_element_type' ) == 'flash' )\r
+                               if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'flash' )\r
                                {\r
                                        this.fakeImage = fakeImage;\r
 \r
@@ -365,8 +365,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                        type : 'text',\r
                                                                        id : 'width',\r
                                                                        style : 'width:95px',\r
-                                                                       label : editor.lang.flash.width,\r
-                                                                       validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateWidth ),\r
+                                                                       label : editor.lang.common.width,\r
+                                                                       validate : CKEDITOR.dialog.validate.integer( editor.lang.common.invalidWidth ),\r
                                                                        setup : function( objectNode, embedNode, paramMap, fakeImage )\r
                                                                        {\r
                                                                                loadValue.apply( this, arguments );\r
@@ -388,8 +388,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                        type : 'text',\r
                                                                        id : 'height',\r
                                                                        style : 'width:95px',\r
-                                                                       label : editor.lang.flash.height,\r
-                                                                       validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHeight ),\r
+                                                                       label : editor.lang.common.height,\r
+                                                                       validate : CKEDITOR.dialog.validate.integer( editor.lang.common.invalidHeight ),\r
                                                                        setup : function( objectNode, embedNode, paramMap, fakeImage )\r
                                                                        {\r
                                                                                loadValue.apply( this, arguments );\r
@@ -558,21 +558,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                {\r
                                                                        id : 'align',\r
                                                                        type : 'select',\r
-                                                                       label : editor.lang.flash.align,\r
+                                                                       label : editor.lang.common.align,\r
                                                                        'default' : '',\r
                                                                        style : 'width : 100%;',\r
                                                                        items :\r
                                                                        [\r
                                                                                [ editor.lang.common.notSet , ''],\r
-                                                                               [ editor.lang.flash.alignLeft , 'left'],\r
+                                                                               [ editor.lang.common.alignLeft , 'left'],\r
                                                                                [ editor.lang.flash.alignAbsBottom , 'absBottom'],\r
                                                                                [ editor.lang.flash.alignAbsMiddle , 'absMiddle'],\r
                                                                                [ editor.lang.flash.alignBaseline , 'baseline'],\r
-                                                                               [ editor.lang.flash.alignBottom , 'bottom'],\r
-                                                                               [ editor.lang.flash.alignMiddle , 'middle'],\r
-                                                                               [ editor.lang.flash.alignRight , 'right'],\r
+                                                                               [ editor.lang.common.alignBottom , 'bottom'],\r
+                                                                               [ editor.lang.common.alignMiddle , 'middle'],\r
+                                                                               [ editor.lang.common.alignRight , 'right'],\r
                                                                                [ editor.lang.flash.alignTextTop , 'textTop'],\r
-                                                                               [ editor.lang.flash.alignTop , 'top']\r
+                                                                               [ editor.lang.common.alignTop , 'top']\r
                                                                        ],\r
                                                                        setup : loadValue,\r
                                                                        commit : function( objectNode, embedNode, paramMap, extraStyles, extraAttributes )\r