Ticket #6200: 6200.patch

File 6200.patch, 3.3 KB (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/dialog/plugin.js

     
    23182318                                                                        dialog._.hasFocus = true;
    23192319                                                                        me.fire( 'focus' );
    23202320                                                                }, me );
     2321                                                        me.getInputElement().on( 'blur', function()
     2322                                                                {
     2323                                                                        me.fire( 'blur' );
     2324                                                                }, me );
    23212325                                                }
    23222326                                        } );
    23232327
  • _source/plugins/dialogui/plugin.js

     
    384384                                                myDefinition.style = myDefinition.controlStyle;
    385385
    386386                                        _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes );
     387
     388                                        // IE < 8 doesn't show the "focus outline" for checkboxes (#6200).
     389                                        if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
     390                                        {
     391                                                _.checkbox.on( 'focus', function()
     392                                                {
     393                                                        this.getInputElement().addClass( 'cke_dialog_ui_checkbox_input_selected' );
     394                                                });
     395                                                _.checkbox.on( 'blur', function()
     396                                                {
     397                                                        this.getInputElement().removeClass( 'cke_dialog_ui_checkbox_input_selected' );
     398                                                });
     399                                        }
     400
    387401                                        html.push( ' <label id="', labelId, '" for="', attributes.id, '">',
    388402                                                        CKEDITOR.tools.htmlEncode( elementDefinition.label ),
    389403                                                        '</label>' );
  • _source/skins/kama/dialog.css

     
    315315        padding: 1px 0px;
    316316}
    317317
     318/* #6200: IE < 8 doesn't show the "focus outline" for checkboxes */
     319.cke_skin_kama .cke_dialog_ui_checkbox_input
     320{
     321        border: 1px dotted transparent;
     322}
     323.cke_skin_kama .cke_dialog_ui_checkbox_input_selected
     324{
     325        border-color: #696969;
     326}
     327
    318328.cke_skin_kama div.cke_disabled .cke_dialog_ui_labeled_content *
    319329{
    320330        background-color : #a0a0a0;
  • _source/skins/office2003/dialog.css

     
    402402        padding: 1px 0px;
    403403}
    404404
     405/* #6200: IE < 8 doesn't show the "focus outline" for checkboxes */
     406.cke_skin_office2003 .cke_dialog_ui_checkbox_input
     407{
     408        border: 1px dotted transparent;
     409}
     410.cke_skin_office2003 .cke_dialog_ui_checkbox_input_selected
     411{
     412        border-color: #696969;
     413}
     414
    405415.cke_skin_office2003 div.cke_disabled .cke_dialog_ui_labeled_content *
    406416{
    407417        background-color : #a0a0a0;
  • _source/skins/v2/dialog.css

     
    401401        padding: 1px 0px;
    402402}
    403403
     404/* #6200: IE < 8 doesn't show the "focus outline" for checkboxes */
     405.cke_skin_v2 .cke_dialog_ui_checkbox_input
     406{
     407        border: 1px dotted transparent;
     408}
     409.cke_skin_v2 .cke_dialog_ui_checkbox_input_selected
     410{
     411        border-color: #696969;
     412}
     413
    404414.cke_skin_v2 div.cke_disabled .cke_dialog_ui_labeled_content *
    405415{
    406416        background-color : #a0a0a0;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy