Several issues fixed.

This commit is contained in:
Paulo Veiga
2011-10-09 18:38:41 -03:00
parent 707e1864ef
commit c2670d5140
4 changed files with 7 additions and 5 deletions

View File

@@ -333,8 +333,10 @@ mindplot.Designer = new Class({
$assert(targetTopic, "targetTopic can not be null");
// Create a new topic model ...
// @Todo: Model should not be modified from here ...
var mindmap = this.getMindmap();
var model = mindmap.createRelationship(sourceTopic.getModel().getId(), targetTopic.getModel().getId());
this._actionDispatcher.connectByRelation(model);
},