diff interfaces/horizontal-sliders.js @ 1147:8590621eb0e9

Fixed checkbox survey collection. Minor corrections to horizontal sliders. Working Chrome (Win/OSX)
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 14 Jan 2016 12:19:42 +0000
parents 5d29ff213161
children 92f26057b934
line wrap: on
line diff
--- a/interfaces/horizontal-sliders.js	Thu Jan 14 11:22:31 2016 +0000
+++ b/interfaces/horizontal-sliders.js	Thu Jan 14 12:19:42 2016 +0000
@@ -271,7 +271,9 @@
 		// If there is no value node (such as outside reference), return null
 		// If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute
 		// Use storage.document.createElement('value'); to generate the XML node.
-		
+		var node = storage.document.createElement('value');
+        node.textContent = this.slider.value;
+        return node;
 	};
 };