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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
65410e63
Commit
65410e63
authored
Apr 14, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variable name
parent
3d438870
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/importer_status.js.coffee
app/assets/javascripts/importer_status.js.coffee
+2
-2
No files found.
app/assets/javascripts/importer_status.js.coffee
View file @
65410e63
...
@@ -6,9 +6,9 @@ class @ImporterStatus
...
@@ -6,9 +6,9 @@ class @ImporterStatus
initStatusPage
:
->
initStatusPage
:
->
$
(
'.js-add-to-import'
)
$
(
'.js-add-to-import'
)
.
off
'click'
.
off
'click'
.
on
'click'
,
(
e
vent
)
=>
.
on
'click'
,
(
e
)
=>
new_namespace
=
null
new_namespace
=
null
$btn
=
$
(
e
vent
.
currentTarget
)
$btn
=
$
(
e
.
currentTarget
)
$tr
=
$btn
.
closest
(
'tr'
)
$tr
=
$btn
.
closest
(
'tr'
)
id
=
$tr
.
attr
(
'id'
).
replace
(
'repo_'
,
''
)
id
=
$tr
.
attr
(
'id'
).
replace
(
'repo_'
,
''
)
if
$tr
.
find
(
'.import-target input'
).
length
>
0
if
$tr
.
find
(
'.import-target input'
).
length
>
0
...
...
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