diff js/specification.js @ 3021:a5a6c44bab6e

Added showBackButton to test create
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 12 Sep 2017 15:36:10 +0100
parents 664065577426
children 192538967e67
line wrap: on
line diff
--- a/js/specification.js	Tue Sep 12 15:28:22 2017 +0100
+++ b/js/specification.js	Tue Sep 12 15:36:10 2017 +0100
@@ -425,6 +425,7 @@
         this.encode = function (doc) {
             var node = doc.createElement('survey');
             node.setAttribute('location', this.location);
+            node.setAttribute('showBackButton', this.showBackButton);
             for (var i = 0; i < this.options.length; i++) {
                 node.appendChild(this.options[i].exportXML(doc));
             }