mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure all ace editors are destroyed in the expression editors
This commit is contained in:
parent
e590313297
commit
7a1e4e9e99
@ -1649,6 +1649,7 @@ RED.editor = (function() {
|
||||
}
|
||||
RED.sidebar.info.refresh(editing_node);
|
||||
RED.workspaces.refresh();
|
||||
subflowEditor.destroy();
|
||||
editStack.pop();
|
||||
editing_node = null;
|
||||
},
|
||||
@ -1946,6 +1947,8 @@ RED.editor = (function() {
|
||||
},
|
||||
close: function() {
|
||||
editStack.pop();
|
||||
expressionEditor.destroy();
|
||||
testDataEditor.destroy();
|
||||
},
|
||||
show: function() {}
|
||||
}
|
||||
@ -2020,6 +2023,7 @@ RED.editor = (function() {
|
||||
},
|
||||
close: function() {
|
||||
editStack.pop();
|
||||
expressionEditor.destroy();
|
||||
},
|
||||
show: function() {}
|
||||
}
|
||||
@ -2205,6 +2209,8 @@ RED.editor = (function() {
|
||||
},
|
||||
close: function() {
|
||||
editStack.pop();
|
||||
bufferStringEditor.destroy();
|
||||
bufferBinEditor.destroy();
|
||||
},
|
||||
show: function() {}
|
||||
}
|
||||
|
@ -206,6 +206,7 @@ RED.workspaces = (function() {
|
||||
RED.view.state(RED.state.DEFAULT);
|
||||
}
|
||||
RED.sidebar.info.refresh(workspace);
|
||||
tabflowEditor.destroy();
|
||||
}
|
||||
}
|
||||
RED.tray.show(trayOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user