Minor fixes.

This commit is contained in:
Paulo Veiga 2011-07-30 05:29:29 -03:00
parent 51be944cca
commit b5987d1b89
2 changed files with 3 additions and 3 deletions

View File

@ -1176,14 +1176,14 @@ mindplot.Topic = new Class({
}, },
createDragNode : function() { createDragNode : function() {
this.parent(); var result = this.parent();
// Is the node already connected ? // Is the node already connected ?
var targetTopic = this.getOutgoingConnectedTopic(); var targetTopic = this.getOutgoingConnectedTopic();
if ($defined(targetTopic)) { if ($defined(targetTopic)) {
dragNode.connectTo(targetTopic); result.connectTo(targetTopic);
} }
return dragNode; return result;
}, },
updateNode : function(updatePosition) { updateNode : function(updatePosition) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B