Skip to content
Snippets Groups Projects
Commit 83ae58f7 authored by juanf's avatar juanf
Browse files

SSDM-1069 : PAPER - Widget for Comments

SVN: 32821
parent c29f6418
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ function CommentsController(sample, mode) {
//Update Model
var commentsXML = this._commentsModel.getComments();
if(commentsXML.indexOf("<root>") === -1) {
if(!commentsXML || commentsXML.indexOf("<root>") === -1) {
commentsXML = "<root></root>";
}
var xmlDoc = new DOMParser().parseFromString(commentsXML, 'text/xml');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment