mirror of https://github.com/node-red/node-red.git
Focus tray body when edit dialog opened
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…
Reference in New Issue