changeset 1314:72a7ec07bca6

Bug #1590 Fix
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 22 Feb 2016 12:27:53 +0000
parents c8317e07c15f
children 616c602a6a6e 03b2ff7308fa
files test_create/test_core.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test_create/test_core.js	Mon Feb 22 12:19:43 2016 +0000
+++ b/test_create/test_core.js	Mon Feb 22 12:27:53 2016 +0000
@@ -1182,9 +1182,9 @@
             obj.text.textContent = checkText.children[i].textContent;
             metric.children.push(obj);
             metric.childrenDOM.appendChild(obj.root);
-            for (var i=0; i<specification.metrics.enabled.length; i++)
+            for (var j=0; j<specification.metrics.enabled.length; j++)
             {
-                if (specification.metrics.enabled[i] == obj.name)
+                if (specification.metrics.enabled[j] == obj.name)
                 {
                     obj.input.checked = true;
                     break;