changeset 149:52a42d24a3eb

Fix Bug #1259: testState now includes the audioHolder ids.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Mon, 01 Jun 2015 08:38:31 +0100
parents c5f6608e0b16
children 97ebdb6b266a
files core.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core.js	Sun May 31 18:03:13 2015 +0100
+++ b/core.js	Mon Jun 01 08:38:31 2015 +0100
@@ -203,6 +203,9 @@
 			for (var id=0; id<this.stateMap.length; id++){
 				var name = this.stateMap[id].nodeName;
 				var obj = document.createElement(name);
+				if (name == "audioHolder") {
+					obj.id = this.stateMap[id].id;
+				}
 				this.stateResults.push(obj);
 			}
 		} else {