mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-01 10:13:33 +08:00
Reload page after exit from tutorial [SCI-703]
This commit is contained in:
parent
c5bc3a4dc6
commit
cc86ff268f
1 changed files with 12 additions and 0 deletions
|
@ -107,6 +107,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
|
||||||
disableInteraction: true,
|
disableInteraction: true,
|
||||||
tooltipClass: 'custom next-page-link'
|
tooltipClass: 'custom next-page-link'
|
||||||
})
|
})
|
||||||
|
.onexit(function() {
|
||||||
|
location.reload();
|
||||||
|
})
|
||||||
|
.oncomplete(function() {
|
||||||
|
location.reload();
|
||||||
|
})
|
||||||
.goToStep(stepNum - (pageFirstStepN - 1))
|
.goToStep(stepNum - (pageFirstStepN - 1))
|
||||||
.start();
|
.start();
|
||||||
} else {
|
} else {
|
||||||
|
@ -130,6 +136,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
|
||||||
tooltipClass: 'custom next-page-link',
|
tooltipClass: 'custom next-page-link',
|
||||||
steps: steps
|
steps: steps
|
||||||
})
|
})
|
||||||
|
.onexit(function() {
|
||||||
|
location.reload();
|
||||||
|
})
|
||||||
|
.oncomplete(function() {
|
||||||
|
location.reload();
|
||||||
|
})
|
||||||
.goToStep(stepNum - (pageFirstStepN - 1))
|
.goToStep(stepNum - (pageFirstStepN - 1))
|
||||||
.start();
|
.start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue