diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-14 12:15:38 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-14 12:15:38 +0300 |
commit | 65410e63ac8c2e4e25acabb73ede6a2dfdc3d829 (patch) | |
tree | 2af92a11b0284a4c1486f542275707f5ce3637da /app/assets/javascripts/importer_status.js.coffee | |
parent | 3d438870f34cb1bd5667bc5db2f848c4f82d5d25 (diff) |
Variable name
Diffstat (limited to 'app/assets/javascripts/importer_status.js.coffee')
-rw-r--r-- | app/assets/javascripts/importer_status.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/importer_status.js.coffee b/app/assets/javascripts/importer_status.js.coffee index 95f9f86c0ad..2eb151a641b 100644 --- a/app/assets/javascripts/importer_status.js.coffee +++ b/app/assets/javascripts/importer_status.js.coffee @@ -6,9 +6,9 @@ class @ImporterStatus initStatusPage: -> $('.js-add-to-import') .off 'click' - .on 'click', (event) => + .on 'click', (e) => new_namespace = null - $btn = $(event.currentTarget) + $btn = $(e.currentTarget) $tr = $btn.closest('tr') id = $tr.attr('id').replace('repo_', '') if $tr.find('.import-target input').length > 0 |