mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 03:43:48 +01:00
- Bug Cannot call method 'trim' of undefined, line:2255 fixed.
This commit is contained in:
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
Block a user