changeset 2444:49ceb4d0f967

Fix for #110
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 23 Jun 2016 12:57:46 +0100
parents 7bafbd5441ea
children 8a4ed73cfa4c e5b205b92109
files js/core.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Thu Jun 23 12:26:25 2016 +0100
+++ b/js/core.js	Thu Jun 23 12:57:46 2016 +0100
@@ -2854,7 +2854,7 @@
 			var passed = false;
 			for (var j=0; j<metric.listenTracker.length; j++)
 			{
-				var bt = metric.listenTracker[j].getElementsByTagName('buffertime');
+				var bt = metric.listenTracker[j].getElementsByTagName('testtime');
 				var start_time = Number(bt[0].getAttribute('start'));
 				var stop_time = Number(bt[0].getAttribute('stop'));
 				var delta = stop_time - start_time;
@@ -2886,7 +2886,9 @@
 			console.log("[ALERT]: "+str_start);
             this.storeErrorNode("[ALERT]: "+str_start);
 			interfaceContext.lightbox.post("Error",str_start);
+            return false;
 		}
+        return true;
 	};
 	this.checkAllMoved = function()
 	{