comparison ape.js @ 960:7cb875d41d7f

console log includes commentQuestion. Text input boxes width inside borders
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 27 May 2015 09:15:45 +0100
parents 4b29eddf74ea
children c35bd010cebb
comparison
equal deleted inserted replaced
959:d6303bdef165 960:7cb875d41d7f
805 var comment = document.createElement('comment'); 805 var comment = document.createElement('comment');
806 var question = document.createElement('question'); 806 var question = document.createElement('question');
807 cqHolder.id = commentQuestion[i].id; 807 cqHolder.id = commentQuestion[i].id;
808 comment.textContent = commentQuestion[i].children[2].value; 808 comment.textContent = commentQuestion[i].children[2].value;
809 question.textContent = commentQuestion[i].children[0].textContent; 809 question.textContent = commentQuestion[i].children[0].textContent;
810 console.log('Question ' + i + ': ' + commentObjects[i].children[2].value); // DEBUG/SAFETY 810 console.log('Question ' + i + ': ' + commentQuestion[i].children[2].value); // DEBUG/SAFETY
811 cqHolder.appendChild(question); 811 cqHolder.appendChild(question);
812 cqHolder.appendChild(comment); 812 cqHolder.appendChild(comment);
813 xmlDoc.appendChild(cqHolder); 813 xmlDoc.appendChild(cqHolder);
814 } 814 }
815 testResultsHolders[testId] = xmlDoc; 815 testResultsHolders[testId] = xmlDoc;