# HG changeset patch # User Nicholas Jillings # Date 1437570655 -3600 # Node ID 3d63ae9a389ad4b905503f779902600544efccb7 # Parent 61d5a6b05ab9ce7f9f04ec012ab914854fab7b28 Fix Bug #1301: If last of pretest node, will say 'start' not submit. diff -r 61d5a6b05ab9 -r 3d63ae9a389a core.js --- a/core.js Wed Jul 22 14:04:08 2015 +0100 +++ b/core.js Wed Jul 22 14:10:55 2015 +0100 @@ -212,7 +212,11 @@ } this.popupContent.appendChild(this.buttonProceed); if(this.currentIndex+1 == this.popupOptions.length) { - this.buttonProceed.textContent = 'Submit'; + if (this.responses.nodeName == "PRETEST") { + this.buttonProceed.textContent = 'Start'; + } else { + this.buttonProceed.textContent = 'Submit'; + } } else { this.buttonProceed.textContent = 'Next'; }