mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Focus tray body when edit dialog opened
This commit is contained in:
parent
f9e09e87d6
commit
9c675a7847
@ -155,6 +155,8 @@ RED.tray = (function() {
|
|||||||
// Delay resetting the flag, so we don't close prematurely
|
// Delay resetting the flag, so we don't close prematurely
|
||||||
openingTray = false;
|
openingTray = false;
|
||||||
},200);
|
},200);
|
||||||
|
body.find(":focusable:first").focus();
|
||||||
|
|
||||||
},150);
|
},150);
|
||||||
el.css({right:0});
|
el.css({right:0});
|
||||||
},0);
|
},0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user