# HG changeset patch # User Nicholas Jillings # Date 1435742106 -3600 # Node ID 4f1016c535c89def817490785a8ce14542c1f206 # Parent 3bda6ed7cc6aeac29893bc43cb6e9bbf5ac68519 Bug fix #1315: Comment boxes now paste informaton back into the console. diff -r 3bda6ed7cc6a -r 4f1016c535c8 core.js --- a/core.js Mon Jun 29 19:04:40 2015 +0100 +++ b/core.js Wed Jul 01 10:15:06 2015 +0100 @@ -1622,6 +1622,7 @@ question.textContent = this.trackString.textContent; var response = document.createElement('response'); response.textContent = this.trackCommentBox.value; + console.log("Comment frag-"+this.id+": "+response.textContent); root.appendChild(question); root.appendChild(response); } @@ -1655,6 +1656,8 @@ root.id = this.specification.id; root.setAttribute('type',this.specification.type); root.textContent = this.textArea.value; + console.log("Question :"+this.string.textContent); + console.log("Response :"+root.textContent); return root; }; };