Skip to content
Snippets Groups Projects
Commit f3980c9d authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes js code.

parent 38c30acc
No related branches found
No related tags found
1 merge request!13Adds walkthrough.
Pipeline #839 failed with stage
in 9 seconds
var path = window.location.pathname.replace(/\/index\.php/, '')
var options = {};
var run = false;
var oncomplete = function() {
}
var oncomplete = function() {}
var file = {
var steps_file = {
steps: [{
title: 'Welcome on files!',
intro: 'Hello World! 👋'
......@@ -19,7 +18,7 @@ var file = {
}]
}
var settings = {
var steps_settings = {
steps: [{
title: 'Welcome on settings/user!',
intro: 'Hello World! 👋'
......@@ -37,14 +36,16 @@ var settings = {
switch(path){
case "/apps/files/":
options = file;
options = steps_file;
run = true;
oncomplete = function() {
setStatus(0);
}
};
break;
case "/settings/user":
options = settings;
options = steps_settings;
run = true;
break;
}
if(run){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment