Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ASM
edulab-frontend
Commits
ea9a36ef
Commit
ea9a36ef
authored
Jul 05, 2017
by
Andreas Åkre Solberg
Browse files
Fix for redirecting to frontpage after deleting a lab
parent
3bc26c9d
Pipeline
#2954
passed with stages
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/createmachine.js
View file @
ea9a36ef
...
...
@@ -216,7 +216,7 @@ function labDelete(id) {
success
:
(
response
)
=>
{
console
.
log
(
"
Successfully response.
"
);
console
.
log
(
response
);
location
.
reload
(
'
/
'
)
;
location
=
'
/
'
;
},
error
:
(
error
)
=>
{
alert
(
"
Some error occured.
"
);
...
...
Write
Preview
Markdown
is supported
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