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

const bindEvents = () => {
  const path = 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,
};