From b5987d1b89b89c322dde6d05d64415d8605b96fa Mon Sep 17 00:00:00 2001 From: Paulo Veiga Date: Sat, 30 Jul 2011 05:29:29 -0300 Subject: [PATCH] Minor fixes. --- mindplot/src/main/javascript/Topic.js | 6 +++--- wise-doc/src/main/webapp/images/bin.png | Bin 0 -> 476 bytes 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 wise-doc/src/main/webapp/images/bin.png diff --git a/mindplot/src/main/javascript/Topic.js b/mindplot/src/main/javascript/Topic.js index 5c84de08..9716b57d 100644 --- a/mindplot/src/main/javascript/Topic.js +++ b/mindplot/src/main/javascript/Topic.js @@ -1176,14 +1176,14 @@ mindplot.Topic = new Class({ }, createDragNode : function() { - this.parent(); + var result = this.parent(); // Is the node already connected ? var targetTopic = this.getOutgoingConnectedTopic(); if ($defined(targetTopic)) { - dragNode.connectTo(targetTopic); + result.connectTo(targetTopic); } - return dragNode; + return result; }, updateNode : function(updatePosition) { diff --git a/wise-doc/src/main/webapp/images/bin.png b/wise-doc/src/main/webapp/images/bin.png new file mode 100644 index 0000000000000000000000000000000000000000..ebad933c8b3729a9b27dc34c5a111600b8d46fdb GIT binary patch literal 476 zcmV<20VDp2P)!P6q=I0_iwCeRuEs-nY*ui2wlBo{da&-rimXk_dpOx8l9Y2eXq^TiLre{gv0N zh@vQpp3E(_zQv8WAB*@mevb>S`MD?sAf3NIKIx==eZ#Jr9#7|~0H2e>)YKJ;10yn{ zb~SBXr^1(^@_cc&7(P~SnNU?q95~@CRVtL1isxZE)U%{&!=XelB6GnODxd1btErjO zj_6poZCs)d1RVpU;qKVX8HX|rHyyQURHCLW%8}-eFWR-IYhR*iQ-E&#nFI_$K^_5DwQb0QR_*>mIH#Cqd99N2l)Z|DPKCCbQ(9lp- zvu47Wa~kew3p-R8Jp8%booy=RR$@JQDF}+Z*eRMM5iCB+Uxaqp3-6bf0D%9