diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-23 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-23 06:08:49 +0300 |
commit | 98ce6418920b510e0e819e686e83a22bf6d5cd20 (patch) | |
tree | d950bf3a1c236e92e9cd335111d1b8b7756203e0 /app/assets/javascripts/issuable | |
parent | 0a8d7059a2db069c1193009c56ff3af1aa0791b5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issuable')
-rw-r--r-- | app/assets/javascripts/issuable/issuable_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issuable/issuable_form.js b/app/assets/javascripts/issuable/issuable_form.js index 38453072af8..2a00f9d42a9 100644 --- a/app/assets/javascripts/issuable/issuable_form.js +++ b/app/assets/javascripts/issuable/issuable_form.js @@ -82,7 +82,7 @@ export default class IssuableForm { this.initAutosave(); this.form.on('submit', this.handleSubmit); - this.form.on('click', '.btn-cancel', this.resetAutosave); + this.form.on('click', '.btn-cancel, .js-reset-autosave', this.resetAutosave); this.form.find('.js-unwrap-on-load').unwrap(); this.initWip(); |