Merge pull request #530 from Luis-Fernando-Molina/develop
Contribution: Possible Bug Fix, tutorial loaded while Indexing Docs Seach Engine, without content.
This commit is contained in:
2 files changed
+11
-7
No files matched your search
@@ -32,19 +32,20 @@ function newSuperalgosDocsSearchEngine() {
|
||||
let documentIndex
|
||||
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInNodes, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInConcepts, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInNTopics, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInTutorials, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInReviews, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInBooks, 0)
|
||||
totalAsyncCallsMade++
|
||||
setTimeout(searchInWorkspaces, 0)
|
||||
|
||||
setTimeout(searchInNodes, 10)
|
||||
setTimeout(searchInConcepts, 20)
|
||||
setTimeout(searchInNTopics, 30)
|
||||
setTimeout(searchInTutorials, 40)
|
||||
setTimeout(searchInReviews, 50)
|
||||
setTimeout(searchInBooks, 60)
|
||||
setTimeout(searchInWorkspaces, 70)
|
||||
|
||||
function searchInNodes() {
|
||||
/* Search in Nodes */
|
||||
|
||||
@@ -892,6 +892,7 @@ function newSuperalgosTutorialSpace() {
|
||||
}
|
||||
|
||||
function playTutorial(node) {
|
||||
if (UI.projects.superalgos.spaces.designSpace.workspace.isInitialized !== true ) { return }
|
||||
|
||||
PAGE_NUMBER = 0
|
||||
TUTORIAL_NAME = node.name
|
||||
@@ -906,6 +907,8 @@ function newSuperalgosTutorialSpace() {
|
||||
}
|
||||
|
||||
function resumeTutorial(node) {
|
||||
if (UI.projects.superalgos.spaces.designSpace.workspace.isInitialized !== true ) { return }
|
||||
|
||||
navigationStack = []
|
||||
node.payload.uiObject.isPlaying = true
|
||||
tutorialRootNode = node
|
||||
|
||||
Reference in new issue
Block a user