Skip to content

Commit

Permalink
MDL-44868 editor_atto: Remember the last focused button in the toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Apr 10, 2014
1 parent 21fd238 commit 5e543b4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ EditorToolbarNav.prototype = {
button = this._findFirstFocusable(buttons, current, direction);
if (button) {
button.focus();
this._setTabFocus(button);
} else {
Y.log("Unable to find a button to focus on", 'debug', LOGNAME);
}
Expand Down
Loading

0 comments on commit 5e543b4

Please sign in to comment.