Mercurial > hg > webaudioevaluationtool
diff test_create/test_core.js @ 2110:44eef6a6ca7e
Bug #1607, #1608 and #1610 fixes.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 22 Feb 2016 14:38:45 +0000 |
parents | 3bbb357004e4 |
children | 74ce8e3f8dd5 |
line wrap: on
line diff
--- a/test_create/test_core.js Mon Feb 22 14:20:50 2016 +0000 +++ b/test_create/test_core.js Mon Feb 22 14:38:45 2016 +0000 @@ -141,7 +141,11 @@ this.proceedButton.onclick = function() { popupObject.popupContent.innerHTML = null; - popupObject.shownObject.continue(); + if(typeof popupObject.shownObject.continue == "function") { + popupObject.shownObject.continue(); + } else { + popupObject.hide(); + } }; this.object.appendChild(this.proceedButton); @@ -198,6 +202,11 @@ } else { this.backButton.style.visibility = "hidden"; } + if (typeof this.shownObject.continue == "function") { + this.proceedButton.textContent = "Next"; + } else { + this.proceedButton.textContent = "Finish"; + } this.show(); }