On Sequence change, destroy any existing polling thread
*/
/*
for queued submissions, see ../capa/display.js
*/
// On Sequence change, destroy any existing polling thread
// for queued submissions, see ../capa/display.js
if(window.queuePollerID){
window.clearTimeout(window.queuePollerID);
deletewindow.queuePollerID;
}
returnthis.render(new_position);
this.render(newPosition);
}else{
alert_template=gettext("Sequence error! Cannot navigate to %(tab_name)s in the current SequenceModule. Please contact the course staff.");
alert_text=interpolate(alert_template,{
tab_name:new_position
alertTemplate=gettext('Sequence error! Cannot navigate to %(tab_name)s in the current SequenceModule. Please contact the course staff.');// eslint-disable-line max-len