X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fflash%2Fdialogs%2Fflash.js;h=0a2268b67ffee203cf5db3afac3730a7d44edf04;hp=861cc34daa7f26014f812d3a250c83da9541c9e8;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hpb=614511639979907ceb0da3614122a4d8eb963ad4 diff --git a/_source/plugins/flash/dialogs/flash.js b/_source/plugins/flash/dialogs/flash.js index 861cc34..0a2268b 100644 --- a/_source/plugins/flash/dialogs/flash.js +++ b/_source/plugins/flash/dialogs/flash.js @@ -190,7 +190,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // Try to detect any embed or object tag that has Flash parameters. var fakeImage = this.getSelectedElement(); - if ( fakeImage && fakeImage.getAttribute( '_cke_real_element_type' ) && fakeImage.getAttribute( '_cke_real_element_type' ) == 'flash' ) + if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'flash' ) { this.fakeImage = fakeImage; @@ -365,8 +365,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license type : 'text', id : 'width', style : 'width:95px', - label : editor.lang.flash.width, - validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateWidth ), + label : editor.lang.common.width, + validate : CKEDITOR.dialog.validate.integer( editor.lang.common.invalidWidth ), setup : function( objectNode, embedNode, paramMap, fakeImage ) { loadValue.apply( this, arguments ); @@ -388,8 +388,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license type : 'text', id : 'height', style : 'width:95px', - label : editor.lang.flash.height, - validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHeight ), + label : editor.lang.common.height, + validate : CKEDITOR.dialog.validate.integer( editor.lang.common.invalidHeight ), setup : function( objectNode, embedNode, paramMap, fakeImage ) { loadValue.apply( this, arguments ); @@ -558,21 +558,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { id : 'align', type : 'select', - label : editor.lang.flash.align, + label : editor.lang.common.align, 'default' : '', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , ''], - [ editor.lang.flash.alignLeft , 'left'], + [ editor.lang.common.alignLeft , 'left'], [ editor.lang.flash.alignAbsBottom , 'absBottom'], [ editor.lang.flash.alignAbsMiddle , 'absMiddle'], [ editor.lang.flash.alignBaseline , 'baseline'], - [ editor.lang.flash.alignBottom , 'bottom'], - [ editor.lang.flash.alignMiddle , 'middle'], - [ editor.lang.flash.alignRight , 'right'], + [ editor.lang.common.alignBottom , 'bottom'], + [ editor.lang.common.alignMiddle , 'middle'], + [ editor.lang.common.alignRight , 'right'], [ editor.lang.flash.alignTextTop , 'textTop'], - [ editor.lang.flash.alignTop , 'top'] + [ editor.lang.common.alignTop , 'top'] ], setup : loadValue, commit : function( objectNode, embedNode, paramMap, extraStyles, extraAttributes )