X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fforms%2Fplugin.js;h=5978e0bcb75ea4dcec48e87934e5166e66f07cc2;hp=a2c302733eb2159484be5f0456a4b96b95c1ced6;hb=c6e377a02b54abc07129d72b632763c727476a15;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6 diff --git a/_source/plugins/forms/plugin.js b/_source/plugins/forms/plugin.js index a2c3027..5978e0b 100644 --- a/_source/plugins/forms/plugin.js +++ b/_source/plugins/forms/plugin.js @@ -166,7 +166,7 @@ CKEDITOR.plugins.add( 'forms', afterInit : function( editor ) { // Cleanup certain IE form elements default values. - if( CKEDITOR.env.ie ) + if ( CKEDITOR.env.ie ) { var dataProcessor = editor.dataProcessor, htmlFilter = dataProcessor && dataProcessor.htmlFilter; @@ -179,7 +179,7 @@ CKEDITOR.plugins.add( 'forms', { var attrs = input.attributes, type = attrs.type; - if( type == 'checkbox' || type == 'radio' ) + if ( type == 'checkbox' || type == 'radio' ) attrs.value == 'on' && delete attrs.value; } }