diff core.js @ 917:9d6803ed2fb8

audioHolder ID's are stored
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Fri, 05 Jun 2015 11:32:09 +0100
parents d564033f1e25
children 1e1339e51701
line wrap: on
line diff
--- a/core.js	Fri Jun 05 11:25:56 2015 +0100
+++ b/core.js	Fri Jun 05 11:32:09 2015 +0100
@@ -207,6 +207,9 @@
 			for (var id=0; id<this.stateMap.length; id++){
 				var name = this.stateMap[id].type;
 				var obj = document.createElement(name);
+				if (name == 'audioHolder') {
+					obj.id = this.stateMap[id].id;
+				}
 				this.stateResults.push(obj);
 			}
 		} else {