Ticket #2951: 2951.patch

File 2951.patch, 709 bytes (added by Martin Kou, 15 years ago)
  • _source/plugins/dialogui/plugin.js

     
    319319                                                html = [],
    320320                                                attributes = { 'class' : 'cke_dialog_ui_checkbox_input', type : 'checkbox' };
    321321                                        cleanInnerDefinition( myDefinition );
    322                                         if ( elementDefinition.checked )
     322                                        if ( elementDefinition[ 'default' ] )
    323323                                                attributes.checked = 'checked';
    324324                                        _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes );
    325325                                        html.push( ' ', CKEDITOR.tools.htmlEncode( elementDefinition.label ) );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy