diff core.js @ 1330:a7e81c4f4ace

Added AB test interface
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 11 Jan 2016 16:32:26 +0000
parents b175ea21b021
children 22a23c68b341
line wrap: on
line diff
--- a/core.js	Mon Jan 11 13:56:30 2016 +0000
+++ b/core.js	Mon Jan 11 16:32:26 2016 +0000
@@ -1232,7 +1232,9 @@
 					this.storeDOM.appendChild(interfaceXML[i]);
 				}
 			}
-			this.storeDOM.appendChild(this.commentDOM.exportXMLDOM(this));
+			if (this.commentDOM != null) {
+				this.storeDOM.appendChild(this.commentDOM.exportXMLDOM(this));
+			}
 		}
 		var nodes = this.metric.exportXMLDOM();
 		var mroot = this.storeDOM.getElementsByTagName('metric')[0];