1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Do not allow tab focus on clipboard hidden element

This commit is contained in:
Nick O'Leary 2019-06-06 17:17:05 +01:00
parent a24c66958f
commit 457ec86c25
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -731,7 +731,7 @@ RED.clipboard = (function() {
init: function() { init: function() {
setupDialogs(); setupDialogs();
$('<input type="text" id="red-ui-clipboard-hidden">').appendTo("#red-ui-editor"); $('<input type="text" id="red-ui-clipboard-hidden" tabIndex="-1">').appendTo("#red-ui-editor");
RED.actions.add("core:show-export-dialog",exportNodes); RED.actions.add("core:show-export-dialog",exportNodes);
RED.actions.add("core:show-import-dialog",importNodes); RED.actions.add("core:show-import-dialog",importNodes);