Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
38571140
Commit
38571140
authored
Aug 12, 2019
by
Martin Wortschack
Committed by
Filipa Lacerda
Aug 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Follow-up from "Set project path on localStorage during onboarding""
parent
5e5f39a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/app/assets/javascripts/onboarding/new_project.js
ee/app/assets/javascripts/onboarding/new_project.js
+4
-0
No files found.
ee/app/assets/javascripts/onboarding/new_project.js
View file @
38571140
...
@@ -7,6 +7,10 @@ export const getProjectPath = () => {
...
@@ -7,6 +7,10 @@ export const getProjectPath = () => {
const
projectPathInput
=
activeTab
.
querySelector
(
'
#project_path
'
);
const
projectPathInput
=
activeTab
.
querySelector
(
'
#project_path
'
);
const
select
=
activeTab
.
querySelector
(
'
select.js-select-namespace
'
);
const
select
=
activeTab
.
querySelector
(
'
select.js-select-namespace
'
);
if
(
!
projectPathInput
)
{
return
''
;
}
if
(
select
)
{
if
(
select
)
{
const
selectedOption
=
select
.
options
[
select
.
selectedIndex
];
const
selectedOption
=
select
.
options
[
select
.
selectedIndex
];
const
{
showPath
}
=
selectedOption
.
dataset
;
const
{
showPath
}
=
selectedOption
.
dataset
;
...
...
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