Fix Firefox issue with null values.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-22 00:05:46 -03:00
parent e1e9c9ebeb
commit ac8309819c

View File

@ -125,7 +125,10 @@ public class MindMapBean {
} }
public String getXmlAsJsLiteral() throws IOException { public String getXmlAsJsLiteral() throws IOException {
return this.mindmap.getXmlAsJsLiteral(); final String result = this.mindmap.getXmlAsJsLiteral();
// Firefox is failing for this. Need to be reviewed ...
return result.replace("\\u0000", "");
} }
public String getProperties() throws WiseMappingException { public String getProperties() throws WiseMappingException {