- Fix relationship exception due to usage of Mootools deprecated method.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-23 20:26:19 -03:00
parent a3d129a034
commit 3a7c1d56cb
5 changed files with 32 additions and 6464 deletions

View File

@@ -120,7 +120,7 @@ mindplot.RelationshipLine = new Class({
addToWorkspace : function(workspace) {
workspace.appendChild(this._focusShape);
workspace.appendChild(this._controlPointsController);
this._controlPointControllerListener = this._initializeControlPointController.bindWithEvent(this, workspace);
this._controlPointControllerListener = this._initializeControlPointController.bind(this);
this._line2d.addEvent('click', this._controlPointControllerListener);
this._isInWorkspace = true;
@@ -130,7 +130,7 @@ mindplot.RelationshipLine = new Class({
this.parent(workspace);
},
_initializeControlPointController : function(event, workspace) {
_initializeControlPointController : function() {
this.setOnFocus(true);
},