summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/projects/project_import_gitlab_project.js
blob: c34927499fc60e6d8deae728decdc8ca882edd8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import '../lib/utils/url_utility';

const bindEvents = () => {
  const path = gl.utils.getParameterValues('path')[0];

  // get the path url and append it in the inputS
  $('.js-path-name').val(path);
};

document.addEventListener('DOMContentLoaded', bindEvents);

export default {
  bindEvents,
};