Reload page after exit from tutorial [SCI-703]

This commit is contained in:
Oleksii Kriuchykhin 2016-11-18 16:49:26 +01:00
parent c5bc3a4dc6
commit cc86ff268f

View file

@ -107,6 +107,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
disableInteraction: true,
tooltipClass: 'custom next-page-link'
})
.onexit(function() {
location.reload();
})
.oncomplete(function() {
location.reload();
})
.goToStep(stepNum - (pageFirstStepN - 1))
.start();
} else {
@ -130,6 +136,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
tooltipClass: 'custom next-page-link',
steps: steps
})
.onexit(function() {
location.reload();
})
.oncomplete(function() {
location.reload();
})
.goToStep(stepNum - (pageFirstStepN - 1))
.start();
}