Fix remove icon.

This commit is contained in:
Paulo Veiga
2011-08-29 20:32:12 -03:00
parent c74d2de32d
commit 55db305b10
3 changed files with 9 additions and 15 deletions

View File

@@ -18,11 +18,11 @@
mindplot.commands.RemoveIconFromTopicCommand = new Class({
Extends:mindplot.Command,
initialize: function(topicId, iconModel)
initialize: function(topicIds, iconModel)
{
$assert(topicId, 'topicId can not be null');
$assert(iconModel, 'iconId can not be null');
this._objectsIds = topicId;
$assert(topicIds, 'topicIds can not be null');
$assert(iconModel, 'iconModel can not be null');
this._objectsIds = topicIds;
this._iconModel = iconModel;
},
execute: function(commandContext)