From 9c675a7847dec809b7fd228ec2fc60db3e8e2013 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 8 Nov 2016 09:58:20 +0000 Subject: [PATCH] Focus tray body when edit dialog opened --- editor/js/ui/tray.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/js/ui/tray.js b/editor/js/ui/tray.js index 747600b48..362ffe5b0 100644 --- a/editor/js/ui/tray.js +++ b/editor/js/ui/tray.js @@ -155,6 +155,8 @@ RED.tray = (function() { // Delay resetting the flag, so we don't close prematurely openingTray = false; },200); + body.find(":focusable:first").focus(); + },150); el.css({right:0}); },0);