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

Fix to Close #72 . remove drag back to left palette to delete.

This commit is contained in:
Dave C-J 2013-11-15 17:46:57 +00:00
parent 3c32186a9d
commit f7fc0760ca

View File

@ -782,7 +782,7 @@ RED.view = function() {
node.each(function(d,i) { node.each(function(d,i) {
if (d.dirty) { if (d.dirty) {
if (d.x < -50) deleteSelection(); // Delete nodes if dragged back to palette //if (d.x < -50) deleteSelection(); // Delete nodes if dragged back to palette
if (d.resize) { if (d.resize) {
var l = d._def.label; var l = d._def.label;
l = (typeof l === "function" ? l.call(d) : l)||""; l = (typeof l === "function" ? l.call(d) : l)||"";