Skip to content

Commit

Permalink
#9842: Give time for the panel get focus when JAWS is running.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck committed Dec 20, 2012
1 parent 9d77a8a commit 57e2fd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/menubutton/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ CKEDITOR.plugins.add( 'menubutton', {

this.setState( CKEDITOR.TRISTATE_ON );

menu.show( CKEDITOR.document.getById( this._.id ), 4 );
// This timeout is needed to give time for the panel get focus
// when JAWS is running. (#9842)
setTimeout( function() {
menu.show( CKEDITOR.document.getById( _.id ), 4 );
},0);
};

/**
Expand Down

0 comments on commit 57e2fd6

Please sign in to comment.