changeset 2245:152eada7bd03

Merge branch 'Dev_main'
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 18 Apr 2016 19:49:25 +0100
parents 27f3cbb3a960 (diff) 1e1b689e2a60 (current diff)
children d052405e29e2 ae2bf6a1693e
files test_create/test_core.js
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test_create/attributes.json	Mon Apr 18 15:52:39 2016 +0100
+++ b/test_create/attributes.json	Mon Apr 18 19:49:25 2016 +0100
@@ -23,5 +23,8 @@
     "label": "Label",
     "calibration": "Perform Calibration",
     "preSilence": "Pre Silence",
-    "postSilence": "Post Silence"
+    "postSilence": "Post Silence",
+    "poolSize": "Pool Size",
+    "alwaysInclude": "Always Include",
+    "crossFade": "Cross Fade"
 }
--- a/test_create/test_core.js	Mon Apr 18 15:52:39 2016 +0100
+++ b/test_create/test_core.js	Mon Apr 18 19:49:25 2016 +0100
@@ -1248,7 +1248,8 @@
                 value = this.default;
             }
             if (this.input.type == "checkbox") {
-                this.input.checked = value;
+                if (value == "true" || value == "True") {this.input.checked = false;}
+                else {this.input.checked = false;}
             } else {
                 this.input.value = value;
             }