diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 0ea00621e..fb4c200f5 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -1033,8 +1033,6 @@ RED.editor = (function() { }) }, open: function(tray, done) { - RED.keyboard.disable(); - if (editing_node.hasOwnProperty('outputs')) { editing_node.__outputs = editing_node.outputs; } @@ -1077,8 +1075,6 @@ RED.editor = (function() { }); }, close: function() { - RED.keyboard.enable(); - if (RED.view.state() != RED.state.IMPORT_DRAGGING) { RED.view.state(RED.state.DEFAULT); } @@ -1182,8 +1178,6 @@ RED.editor = (function() { }) }, open: function(tray, done) { - RED.keyboard.disable(); - var trayHeader = tray.find(".red-ui-tray-header"); var trayBody = tray.find('.red-ui-tray-body'); var trayFooter = tray.find(".red-ui-tray-footer"); @@ -1264,8 +1258,6 @@ RED.editor = (function() { }); }, close: function() { - RED.keyboard.enable(); - RED.workspaces.refresh(); activeEditPanes.forEach(function(pane) { @@ -1643,8 +1635,6 @@ RED.editor = (function() { }) }, open: function(tray, done) { - RED.keyboard.disable(); - var trayFooter = tray.find(".red-ui-tray-footer"); var trayFooterLeft = $("
", { class: "red-ui-tray-footer-left" @@ -1676,8 +1666,6 @@ RED.editor = (function() { }); }, close: function() { - RED.keyboard.enable(); - if (RED.view.state() != RED.state.IMPORT_DRAGGING) { RED.view.state(RED.state.DEFAULT); } @@ -1767,8 +1755,6 @@ RED.editor = (function() { }) }, open: function(tray, done) { - RED.keyboard.disable(); - var trayFooter = tray.find(".red-ui-tray-footer"); var trayFooterLeft = $("", { class: "red-ui-tray-footer-left" @@ -1790,8 +1776,6 @@ RED.editor = (function() { }, close: function() { - RED.keyboard.enable(); - if (RED.view.state() != RED.state.IMPORT_DRAGGING) { RED.view.state(RED.state.DEFAULT); } @@ -1904,8 +1888,6 @@ RED.editor = (function() { }) }, open: function(tray, done) { - RED.keyboard.disable(); - var trayFooter = tray.find(".red-ui-tray-footer"); var trayBody = tray.find('.red-ui-tray-body'); trayBody.parent().css('overflow','hidden'); @@ -1933,8 +1915,6 @@ RED.editor = (function() { }); }, close: function() { - RED.keyboard.enable(); - if (RED.view.state() != RED.state.IMPORT_DRAGGING) { RED.view.state(RED.state.DEFAULT); }