diff core.js @ 1600:f6b460388e3c

Fix Bug #1259: testState now includes the audioHolder ids.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 01 Jun 2015 08:38:31 +0100
parents 4d71d16c1816
children d141519a99f2
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 {