diff --git a/public/index.html b/public/index.html index f09db2039..d6c2f463b 100644 --- a/public/index.html +++ b/public/index.html @@ -54,9 +54,10 @@
- edit subflow name + edit name input output + delete subflow
diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index 3e30343c2..3e121a968 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -700,45 +700,6 @@ RED.editor = (function() { closeOnEscape: false, width: 500, buttons: [ - { - class: 'leftButton', - text: "Delete", - click: function() { - var removedNodes = []; - var removedLinks = []; - var startDirty = RED.view.dirty(); - - RED.nodes.eachNode(function(n) { - if (n.type == "subflow:"+editing_node.id) { - removedNodes.push(n); - } - if (n.z == editing_node.id) { - removedNodes.push(n); - } - }); - - for (var i=0;i