Ticket #6200: 6200_3.patch
File 6200_3.patch, 2.2 KB (added by , 13 years ago) |
---|
-
_source/plugins/dialog/plugin.js
2330 2330 var me = this; 2331 2331 dialog.on( 'load', function() 2332 2332 { 2333 if ( me.getInputElement() ) 2333 var input = me.getInputElement(); 2334 if ( input ) 2334 2335 { 2335 me.getInputElement().on( 'focus', function() 2336 var focusClass = me.type in { 'checkbox' : 1, 'ratio' : 1 } && CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? 'cke_dialog_ui_focused' : ''; 2337 input.on( 'focus', function() 2336 2338 { 2337 2339 dialog._.tabBarMode = false; 2338 2340 dialog._.hasFocus = true; 2339 2341 me.fire( 'focus' ); 2340 }, me ); 2342 focusClass && this.addClass( focusClass ); 2343 2344 }); 2345 2346 input.on( 'blur', function() 2347 { 2348 me.fire( 'blur' ); 2349 focusClass && this.removeClass( focusClass ); 2350 }); 2341 2351 } 2342 2352 } ); 2343 2353 -
_source/skins/kama/dialog.css
920 919 { 921 920 margin-right: 10px; 922 921 } 922 923 /* #6200: IE<8 doesn't support CSS outline property, emulated with dotted border. */ 924 .cke_skin_kama .cke_browser_ie .cke_dialog_ui_checkbox_input, 925 .cke_skin_kama .cke_browser_ie .cke_dialog_ui_ratio_input, 926 .cke_skin_kama .cke_browser_ie .cke_btn_reset, 927 .cke_skin_kama .cke_browser_ie .cke_btn_locked, 928 .cke_skin_kama .cke_browser_ie .cke_btn_unlocked, 929 { 930 *border: 1px solid transparent !important; 931 } 932 933 .cke_skin_kama .cke_browser_ie .cke_dialog_ui_focused, 934 .cke_skin_kama .cke_browser_ie .cke_btn_over 935 { 936 *border: 1px dotted #696969 !important; 937 } 938 939 /* No automatic focus outline for some input elements, e.g. checkbox */ 940 .cke_skin_kama .cke_browser_gecko .cke_dialog_ui_checkbox_input:focus, 941 .cke_skin_kama .cke_browser_gecko .cke_dialog_ui_radio_input:focus, 942 .cke_skin_kama .cke_browser_gecko .cke_dialog_ui_input_select:focus, 943 .cke_skin_kama .cke_browser_gecko .cke_btn_over 944 { 945 outline: 1px dotted #696969; 946 }