Ticket #3380: 3380_2.patch
File 3380_2.patch, 1.6 KB (added by , 14 years ago) |
---|
-
_source/plugins/elementspath/plugin.js
92 92 ' href="javascript:void(\'', name, '\')"' + 93 93 ' tabindex="-1"' + 94 94 ' title="', editor.lang.elementsPath.eleTitle.replace( /%1/, name ), '"' + 95 ( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ? 96 ' onfocus="event.preventBubble();"' : '' ) + 97 ' hidefocus="true" ' + 95 98 ' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', this.name, '\',', index, ', event);"' + 96 99 extra , 97 100 ' onclick="return CKEDITOR._.elementsPath.click(\'', this.name, '\',', index, ');">', -
_source/plugins/button/plugin.js
232 232 233 233 focus : function( index, ev ) 234 234 { 235 var instance = CKEDITOR.ui.button._.instances[ index ]; 235 var instance = CKEDITOR.ui.button._.instances[ index ], 236 retVal; 236 237 237 238 if ( instance.onfocus ) 238 return ( instance.onfocus( instance, new CKEDITOR.dom.event( ev ) ) !== false ); 239 retVal = ( instance.onfocus( instance, new CKEDITOR.dom.event( ev ) ) !== false ); 240 241 // FF2: prevent focus event been bubbled up to editor container, which caused unexpected editor focus. 242 if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) 243 ev.preventBubble(); 244 return retVal; 239 245 } 240 246 }; 241 247