changeset 394:d0073ab16551 Dev_main

Bug #1482: Reference is red for APE.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 11 Dec 2015 11:06:21 +0000
parents 74dddadaf5a1
children 629b96c14ee1
files ape.css ape.js example_eval/project.xml
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ape.css	Fri Dec 11 10:22:27 2015 +0000
+++ b/ape.css	Fri Dec 11 11:06:21 2015 +0000
@@ -66,7 +66,7 @@
 	-webkit-user-select: none;
 }
 
-div#outside-reference {
+div.outside-reference {
 	width:120px;
 	padding-left: 55px;
 	margin-left: 100px;
--- a/ape.js	Fri Dec 11 10:22:27 2015 +0000
+++ b/ape.js	Fri Dec 11 11:06:21 2015 +0000
@@ -383,6 +383,7 @@
 	if (audioHolderObject.outsideReference != null) {
 		var outsideReferenceHolder = document.createElement('div');
 		outsideReferenceHolder.id = 'outside-reference';
+		outsideReferenceHolder.className = 'outside-reference';
 		outsideReferenceHolderspan = document.createElement('span');
 		outsideReferenceHolderspan.textContent = 'Reference';
 		outsideReferenceHolder.appendChild(outsideReferenceHolderspan);
@@ -535,7 +536,7 @@
 			var pixelPosition = (position*width)+marginsize;
 			scaleObj.style.left = Math.floor((pixelPosition-($(scaleObj).width()/2)))+'px';
 		}
-	}
+	};
 }
 
 function sliderObject(audioObject,interfaceObjects) {
--- a/example_eval/project.xml	Fri Dec 11 10:22:27 2015 +0000
+++ b/example_eval/project.xml	Fri Dec 11 11:06:21 2015 +0000
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <BrowserEvalProjectDocument>
-	<setup interface="APE" projectReturn="save.php" randomiseOrder='false' collectMetrics='true' testPages="2">
+	<setup interface="APE" projectReturn="save.php" randomiseOrder='true' collectMetrics='true' testPages="2">
 		<PreTest>
 			<question id="sessionId" mandatory="true">Please enter your name.</question>
 			<statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>