diff js/core.js @ 2347:7de03d416f38

Can go back and forth in test survey
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 16 May 2016 10:48:29 +0100
parents 5f1e2b66d8bb
children ceaccbd708cb e157b2b88219
line wrap: on
line diff
--- a/js/core.js	Mon May 16 10:46:31 2016 +0100
+++ b/js/core.js	Mon May 16 10:48:29 2016 +0100
@@ -734,6 +734,7 @@
                         input.checked = "true";
                     }
                 }
+                index++;
             }
             this.popupResponse.appendChild(table);
 		} else if (node.specification.type == 'radio') {
@@ -768,6 +769,7 @@
                         input.checked = "true";
                     }
                 }
+                index++;
             }
             this.popupResponse.appendChild(table);
 		} else if (node.specification.type == 'number') {