diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-02-04 07:40:00 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-02-04 07:40:00 +0000 |
commit | affec49347715bd44eb65ba3e50cddcc5f12cf23 (patch) | |
tree | 7cdd3811e398d15c93ac03a7c737ea34a06238e2 /app/assets | |
parent | 5aea8dc1a6dc17d4a73e65f3c3a0f8b7e29686eb (diff) | |
parent | 1cc09a919c7c5213665b7938b0661e86c636064d (diff) | |
download | gitlab-ce-affec49347715bd44eb65ba3e50cddcc5f12cf23.tar.gz |
Merge branch 'issue/42689-new-file-template' into 'master'
Resolve "After applying new file template commit change button doesn't enable"
See merge request gitlab-org/gitlab-ce!16911
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/blob/file_template_mediator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/blob/file_template_mediator.js b/app/assets/javascripts/blob/file_template_mediator.js index 583e5faa506..37074301b51 100644 --- a/app/assets/javascripts/blob/file_template_mediator.js +++ b/app/assets/javascripts/blob/file_template_mediator.js @@ -235,7 +235,7 @@ export default class FileTemplateMediator { } setFilename(name) { - this.$filenameInput.val(name); + this.$filenameInput.val(name).trigger('change'); } getSelected() { |