Commit ff4f41d8 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds back missing code to enable the mirror repository checkbox

parent 304793aa
......@@ -57,6 +57,12 @@ const bindEvents = () => {
});
$projectImportUrl.keyup(() => deriveProjectPathFromUrl($projectImportUrl, $projectPath));
$('.import_git').on('click', () => {
const $projectMirror = $('#project_mirror');
$projectMirror.attr('disabled', !$projectMirror.attr('disabled'));
});
};
document.addEventListener('DOMContentLoaded', bindEvents);
......
---
title: Enable mirror repository button
merge_request:
author:
type: fixed
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