Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_import_gitlab_project.js « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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,
};