- Partially fix relationship to central topic.

- Fix add icon to the central topic
This commit is contained in:
Paulo Veiga
2011-11-30 00:50:46 -03:00
parent bc87d0f311
commit e520d9baba
4 changed files with 14 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
mindplot.commands.AddIconToTopicCommand = new Class({
Extends:mindplot.Command,
initialize: function(topicId, iconType) {
$assert(topicId, 'topicId can not be null');
$assert($defined(topicId), 'topicId can not be null');
$assert(iconType, 'iconType can not be null');
this._objectsIds = topicId;
this._iconType = iconType;