Bug 1059059 - Don't blur in editing mode if vc is on focused item. r=yzen

This commit is contained in:
Eitan Isaacson 2014-08-26 20:32:00 +02:00
parent 603477c30b
commit f7296a0e34

View File

@ -156,7 +156,8 @@ this.EventManager.prototype = {
let reason = event.reason;
let oldAccessible = event.oldAccessible;
if (this.editState.editing) {
if (this.editState.editing &&
!Utils.getState(position).contains(States.FOCUSED)) {
aEvent.accessibleDocument.takeFocus();
}
this.present(