Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripta
eScriptorium
Commits
f06b241c
Commit
f06b241c
authored
Aug 13, 2020
by
EL HASSANE GARGEM
Browse files
associate introjs to main vue
parent
4db87526
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/apps/core/static/js/edit/main.js
View file @
f06b241c
...
...
@@ -13,7 +13,8 @@ var partVM = new Vue({
blockShortcuts
:
false
,
fullsizeimage
:
false
,
selectedTranscription
:
null
,
comparedTranscriptions
:
[]
comparedTranscriptions
:
[],
intro
:
introJs
()
},
mounted
(){
if
(
onboarding
)
{
...
...
@@ -195,17 +196,16 @@ var partVM = new Vue({
},
methods
:
{
call_introjs
(){
var
document_edit
=
introJs
();
document_edit
.
setOptions
({
steps
:
steps_intro
});
document_edit
.
start
();
document_edit
.
onexit
(
function
()
{
//
exitonboarding();
this
.
intro
.
setOptions
({
steps
:
steps_intro
});
this
.
intro
.
start
();
this
.
intro
.
onexit
(
function
()
{
exitonboarding
();
});
document_edit
.
oncomplete
(
function
()
{
segmentation_intro
.
start
()
;
this
.
intro
.
oncomplete
(
function
()
{
window
.
location
.
href
=
models_url
;
});
console
.
log
(
"
hey you
"
);
},
resetZoom
()
{
this
.
zoom
.
reset
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment