X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fforms%2Fdialogs%2Fhiddenfield.js;h=ce63239b6d836051348ea473885c99eb730f8dd3;hp=abfa550adc9516fc4bc23deb25b0a19eda699d45;hb=4e90e78dc97789709ee7404359a5517540c27553;hpb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5 diff --git a/_source/plugins/forms/dialogs/hiddenfield.js b/_source/plugins/forms/dialogs/hiddenfield.js index abfa550..ce63239 100644 --- a/_source/plugins/forms/dialogs/hiddenfield.js +++ b/_source/plugins/forms/dialogs/hiddenfield.js @@ -30,7 +30,9 @@ CKEDITOR.dialog.add( 'hiddenfield', function( editor ) var name = this.getValueOf( 'info', '_cke_saved_name' ), value = this.getValueOf( 'info', 'value' ), editor = this.getParentEditor(), - element = CKEDITOR.env.ie ? editor.document.createElement( '' ) : editor.document.createElement( 'input' ); + element = CKEDITOR.env.ie && !( CKEDITOR.document.$.documentMode >= 8 ) ? + editor.document.createElement( '' ) + : editor.document.createElement( 'input' ); element.setAttribute( 'type', 'hidden' ); this.commitContent( element );