Fix commands calling super class constructor.

This commit is contained in:
Paulo Gustavo Veiga
2012-02-27 19:25:14 -03:00
parent 58f1f741b0
commit e67b2ba50b
10 changed files with 12 additions and 53 deletions

View File

@@ -22,11 +22,11 @@ mindplot.commands.GenericFunctionCommand = new Class({
$assert(commandFunc, "commandFunc must be defined");
$assert($defined(topicsIds), "topicsIds must be defined");
this.parent();
this._value = value;
this._topicsIds = topicsIds;
this._commandFunc = commandFunc;
this._oldValues = [];
this._id = mindplot.Command._nextUUID();
},
execute: function(commandContext) {