- Bug Cannot call method 'trim' of undefined, line:2255 fixed.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-07 20:15:42 -03:00
parent 8d9fb53741
commit c950e68a27

View File

@ -468,7 +468,7 @@ mindplot.Topic = new Class({
setText:function (text) {
// Avoid empty nodes ...
if (text.trim().length == 0) {
if (!text || text.trim().length == 0) {
text = null;
}