fixing original layout bugs

This commit is contained in:
Pablo Luna
2011-04-16 15:52:21 +01:00
parent 4e746833ae
commit 60ab4c7f5d
4 changed files with 16 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ mindplot.NodeModel.prototype._removeLink = function(link)
mindplot.NodeModel.prototype.createNote = function(text)
{
core.assert(text, 'note text must be specified.');
core.assert(text!=null, 'note text must be specified.');
return new mindplot.NoteModel(text, this);
};