mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-29 17:04:59 +01:00
Fix notes text exception loading beta maps.
This commit is contained in:
parent
ee93a8f7ab
commit
63113a529d
@ -285,7 +285,8 @@ mindplot.persistence.XMLSerializer_Beta = new Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_deserializeNote : function(domElem, topic) {
|
_deserializeNote : function(domElem, topic) {
|
||||||
return mindplot.TopicFeature.createModel(mindplot.TopicFeature.Note.id, topic, {text:domElem.getAttribute("url")});
|
var text = domElem.getAttribute("text");
|
||||||
|
return mindplot.TopicFeature.createModel(mindplot.TopicFeature.Note.id, topic, {text:text == null ? " " : text});
|
||||||
}});
|
}});
|
||||||
|
|
||||||
mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE = 'map';
|
mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE = 'map';
|
Loading…
Reference in New Issue
Block a user