Fix collapsed nodes.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-28 22:14:52 -03:00
parent 12448fc6cb
commit 5d62bf520a

View File

@ -319,7 +319,8 @@ mindplot.persistence.XMLSerializer_Pela = new Class({
}
var isShrink = domElem.getAttribute('shrink');
if ($defined(isShrink)) {
// Hack: Some production maps has been stored with the central topic collapsed. This is a bug.
if ($defined(isShrink) && type!=mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE) {
topic.setChildrenShrunken(isShrink);
}