Add support for custom dialogs and extend drag support.

This commit is contained in:
Paulo Gustavo Veiga
2012-03-14 22:10:44 -03:00
parent eb6aac4a5e
commit 11c77817cd
7 changed files with 277 additions and 73 deletions

View File

@@ -91,7 +91,7 @@ mindplot.model.Mindmap = new Class({
},
createNode : function(type, id) {
$assert(type, "node type can not be null");
type = !$defined(type) ? mindplot.model.INodeModel.MAIN_TOPIC_TYPE : type;
return new mindplot.model.NodeModel(type, this, id);
},