# HG changeset patch # User Nicholas Jillings # Date 1456145095 0 # Node ID 4a69b3ba474db1981d0a7c04a19ad982c0d18ad3 # Parent 6d652a6c80edd058615b3cc91d7d17875ce8572d Bug #1583 Fix. Popup buttons hidden on successful submission. diff -r 6d652a6c80ed -r 4a69b3ba474d core.js --- a/core.js Mon Feb 22 12:33:56 2016 +0000 +++ b/core.js Mon Feb 22 12:44:55 2016 +0000 @@ -368,6 +368,8 @@ popup.showPopup(); popup.popupContent.innerHTML = null; popup.popupContent.textContent = "Submitting. Please Wait"; + popup.hideNextButton(); + popup.hidePreviousButton(); } } @@ -738,6 +740,18 @@ blank.style.height = window.innerHeight; } }; + this.hideNextButton = function() { + this.buttonProceed.style.visibility = "hidden"; + } + this.hidePreviousButton = function() { + this.buttonPrevious.style.visibility = "hidden"; + } + this.showNextButton = function() { + this.buttonProceed.style.visibility = "visible"; + } + this.showPreviousButton = function() { + this.buttonPrevious.style.visibility = "visible"; + } } function advanceState()