changeset 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 d6303bdef165
children c35bd010cebb
files ape.css ape.js
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ape.css	Wed May 27 09:10:20 2015 +0100
+++ b/ape.css	Wed May 27 09:15:45 2015 +0100
@@ -108,3 +108,8 @@
 	border-style: solid;
 	background-color: #fff;
 }
+
+textarea.trackComment {
+	width: 618px;
+	margin-right:15px;
+}
--- a/ape.js	Wed May 27 09:10:20 2015 +0100
+++ b/ape.js	Wed May 27 09:15:45 2015 +0100
@@ -807,7 +807,7 @@
 		cqHolder.id = commentQuestion[i].id;
 		comment.textContent = commentQuestion[i].children[2].value;
 		question.textContent = commentQuestion[i].children[0].textContent;
-        console.log('Question ' + i + ': ' + commentObjects[i].children[2].value); // DEBUG/SAFETY
+        console.log('Question ' + i + ': ' + commentQuestion[i].children[2].value); // DEBUG/SAFETY
 		cqHolder.appendChild(question);
 		cqHolder.appendChild(comment);
 		xmlDoc.appendChild(cqHolder);