From f7296a0e34b8ee7a11d1ef5382a4525020e14d57 Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Tue, 26 Aug 2014 20:32:00 +0200 Subject: [PATCH] Bug 1059059 - Don't blur in editing mode if vc is on focused item. r=yzen --- accessible/jsat/EventManager.jsm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accessible/jsat/EventManager.jsm b/accessible/jsat/EventManager.jsm index 1e8c372bf1f..50f0ed007d5 100644 --- a/accessible/jsat/EventManager.jsm +++ b/accessible/jsat/EventManager.jsm @@ -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(