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

Fix delete-all action on config node sidebar

This commit is contained in:
Nick O'Leary 2019-06-07 14:35:10 +01:00
parent eed3a749db
commit 6f08bd6fc5
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -257,7 +257,7 @@ RED.sidebar.config = (function() {
RED.actions.add("core:delete-config-selection", function() {
var selectedNodes = [];
$(content).find(".red-ui-palette-node.selected").each(function() {
selectedNodes.push($(this).data('node'));
selectedNodes.push($(this).parent().data('node'));
});
if (selectedNodes.length > 0) {
var historyEvent = {