Start migration to Mootools 1.3.1

This commit is contained in:
Paulo Veiga
2011-07-26 15:07:53 -03:00
parent 8eb84ce7b3
commit 41c1f47227
55 changed files with 13636 additions and 10601 deletions

View File

@@ -41,8 +41,9 @@ mindplot.MindmapDesigner = function(profile, divElement)
// Init layout managers ...
this._topics = [];
var layoutManagerClass = mindplot.layoutManagers.LayoutManagerFactory.getManagerByName(mindplot.EditorOptions.LayoutManager);
this._layoutManager = new layoutManagerClass(this);
// var layoutManagerClass = mindplot.layoutManagers.LayoutManagerFactory.getManagerByName(mindplot.EditorOptions.LayoutManager);
// this._layoutManager = new layoutManagerClass(this);
this._layoutManager = new mindplot.layoutManagers.OriginalLayoutManager(this);
// Register handlers..
this._registerEvents();
@@ -591,7 +592,7 @@ mindplot.MindmapDesigner.prototype._removeNode = function(node)
}
this._workspace.removeChild(node);
this._topics.remove(node);
this._topics.erase(node);
// Delete this node from the model...
var model = node.getModel();