diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-10-02 10:46:41 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-10-02 10:46:41 +0300 |
commit | 5d709e7e865652d795f90bfd3166abe0455df3cb (patch) | |
tree | e39f7238487396c3f962fb7d83a281d07ffc730e /app/assets | |
parent | 1883e97e7c8645f4305e7c9094050e10930a900c (diff) |
Resolve "Selecting an autofill suggestion for project name will not update the project slug"
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/projects/project_new.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js index 8a079b4b38a..ebe18b47e4e 100644 --- a/app/assets/javascripts/projects/project_new.js +++ b/app/assets/javascripts/projects/project_new.js @@ -147,7 +147,7 @@ const bindEvents = () => { $projectImportUrl.keyup(() => deriveProjectPathFromUrl($projectImportUrl)); - $projectName.keyup(() => { + $projectName.on('keyup change', () => { onProjectNameChange($projectName, $projectPath); hasUserDefinedProjectPath = $projectPath.val().trim().length > 0; }); |