- Bug Cannot call method 'trim' of undefined, line:2255 fixed.
parent
8d9fb53741
commit
c950e68a27
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue