fixing text editor bug when dragging nodes

This commit is contained in:
Pablo Luna
2011-04-03 08:00:17 +01:00
parent a0010e7cc7
commit dc2d074fa5
2 changed files with 17 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ mindplot.DragManager.prototype.add = function(node)
window.document.body.style.cursor = 'move';
}
};
dragManager._mouseMoveListener = mouseDownListener;
dragManager._mouseDownListener = mouseDownListener;
node.addEventListener('mousedown', mouseDownListener);
};