Mercurial > hg > webaudioevaluationtool
changeset 2055:2d3eda2a9c6f
Bug fix #1315: Comment boxes now paste informaton back into the console.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 01 Jul 2015 10:15:06 +0100 |
parents | a164db84aaef |
children | 019cceb05eec |
files | core.js |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }; };