Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cribjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
cribjs
Commits
7b7b93d8
Commit
7b7b93d8
authored
Oct 05, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Landing: Improve redirect behavior
parent
d8716c4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
landing.js
landing.js
+5
-2
No files found.
landing.js
View file @
7b7b93d8
...
...
@@ -143,7 +143,11 @@
application_id
:
"
cribjs
"
})
.
push
(
function
()
{
document
.
location
=
data
.
redirect_url
;
if
(
data
.
redirect_url
)
{
document
.
location
=
data
.
redirect_url
;
}
else
{
document
.
location
.
reload
();
}
})
.
push
(
console
.
log
,
console
.
log
);
}
...
...
@@ -160,7 +164,6 @@
to_path
:
site
,
zip_url
:
"
https://lab.nexedi.com/cedric.leninivin/cribjs-editor/
"
+
"
-/archive/master/cribjs-editor-master.zip
"
,
redirect_url
:
site
};
if
(
params
.
hasOwnProperty
(
"
from_path
"
))
{
data
.
from_path
=
params
.
from_path
;
...
...
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