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

@@ -108,7 +108,7 @@ mindplot.ImageIcon = new Class({
remove : function() {
var actionDispatcher = mindplot.ActionDispatcher.getInstance();
actionDispatcher.removeIconFromTopic(this._topic.getModel(), this._iconModel);
actionDispatcher.removeIconFromTopic(this._topic.getId(), this._iconModel);
}
});