- FIX NPE loading old maps ...

This commit is contained in:
Paulo Gustavo Veiga 2012-06-25 23:13:08 -03:00
parent 042ea9ae6e
commit 36c34b6962

View File

@ -372,7 +372,16 @@ mindplot.persistence.XMLSerializer_Pela = new Class({
value = child.nodeValue; value = child.nodeValue;
} }
} }
} else {
// Notes must be decoded ...
value = unescape(value);
// Hack for empty nodes ...
if (value == "") {
value = " ";
}
} }
return value; return value;
}, },