Skip to content

Commit

Permalink
Merge branch 't/9459'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Oct 18, 2012
2 parents 2e1d8f7 + 18d9802 commit 2d37350
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/focusmanager.js
Expand Up @@ -185,6 +185,17 @@

var listeners = {
blur: function() {
// Opera might raise undesired blur event on editable, check if it's
// really blurred. (#9459)
if ( CKEDITOR.env.opera ) {
var editable = this._.editor.editable();
if ( editable && element.equals( editable ) ) {
var active = CKEDITOR.document.getActive();
if ( active.equals( editable.isInline() ? editable : editable.getWindow().getFrame() ) )
return;
}
}

if ( element.equals( this.currentActive ) )
this.blur();
},
Expand Down

0 comments on commit 2d37350

Please sign in to comment.