Commit 65410e63 authored by Phil Hughes's avatar Phil Hughes

Variable name

parent 3d438870
...@@ -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', (event) => .on 'click', (e) =>
new_namespace = null new_namespace = null
$btn = $(event.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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment