Skip to content
Permalink
Browse files

Reverted part of 4c8bc32 to fix #13164.

  • Loading branch information
Reinmar committed May 14, 2015
1 parent 7b3f15c commit ced03279b7fb432b33e0b72d9ec3afc22581ed40
Showing with 3 additions and 2 deletions.
  1. +3 −2 plugins/forms/dialogs/hiddenfield.js
@@ -25,8 +25,9 @@ CKEDITOR.dialog.add( 'hiddenfield', function( editor ) {
onOk: function() {
var name = this.getValueOf( 'info', '_cke_saved_name' ),
editor = this.getParentEditor(),
elementHtml = ( CKEDITOR.document.$.documentMode < 8 ? '<input name="' + CKEDITOR.tools.htmlEncode( name ) + '">' : 'input' ),
element = CKEDITOR.env.ie && editor.document.createElement( elementHtml );
element = CKEDITOR.env.ie && CKEDITOR.document.$.documentMode < 8 ?
editor.document.createElement( '<input name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :
editor.document.createElement( 'input' );

element.setAttribute( 'type', 'hidden' );
this.commitContent( element );

0 comments on commit ced0327

Please sign in to comment.
You can’t perform that action at this time.