comparison js/core.js @ 3020:664065577426

Hide the back button #232
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 12 Sep 2017 15:28:22 +0100
parents 5acdaf4c14c3
children c93687862a79
comparison
equal deleted inserted replaced
3019:f06405eacbe1 3020:664065577426
1097 this.buttonProceed.textContent = 'Submit'; 1097 this.buttonProceed.textContent = 'Submit';
1098 } 1098 }
1099 } else { 1099 } else {
1100 this.buttonProceed.textContent = 'Next'; 1100 this.buttonProceed.textContent = 'Next';
1101 } 1101 }
1102 if (this.currentIndex > 0) 1102 if (this.currentIndex > 0 && this.node.showBackButton)
1103 this.buttonPrevious.style.visibility = 'visible'; 1103 this.buttonPrevious.style.visibility = 'visible';
1104 else 1104 else
1105 this.buttonPrevious.style.visibility = 'hidden'; 1105 this.buttonPrevious.style.visibility = 'hidden';
1106 }; 1106 };
1107 1107