Trigger change event on filename input when file template is applied

Add changelog

Follow event trigger convention
This commit is contained in:
Sebastian Klingler 2018-02-03 16:10:08 -06:00
parent f016c780f6
commit 1cc09a919c
2 changed files with 6 additions and 1 deletions

View File

@ -235,7 +235,7 @@ export default class FileTemplateMediator {
}
setFilename(name) {
this.$filenameInput.val(name);
this.$filenameInput.val(name).trigger('change');
}
getSelected() {

View File

@ -0,0 +1,5 @@
---
title: Trigger change event on filename input when file template is applied
merge_request: 16911
author: Sebastian Klingler
type: fixed