diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-05-30 09:15:07 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-30 09:15:07 +0000 |
commit | 5a81bca825f84ac26e4161bbba30156defee9c65 (patch) | |
tree | bcbde7b31f8be0dd46f9174636ae616fa49168c4 /app/assets/javascripts | |
parent | a0073f056171d8a0842cda5b4a73bbdfc58af018 (diff) | |
parent | ee61ab6ffc4b68197b40fc152c8ac473a273fb43 (diff) | |
download | gitlab-ce-5a81bca825f84ac26e4161bbba30156defee9c65.tar.gz |
Merge branch 'sh-fix-submit-not-clearing-local-storage' into 'master'
Fix local storage not being cleared after creating a new issue
Closes #37162
See merge request gitlab-org/gitlab-ce!19226
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/issuable_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issuable_form.js b/app/assets/javascripts/issuable_form.js index 90d4e19e90b..bb8b3d91e40 100644 --- a/app/assets/javascripts/issuable_form.js +++ b/app/assets/javascripts/issuable_form.js @@ -30,7 +30,7 @@ export default class IssuableForm { } this.initAutosave(); - this.form.on('submit:success', this.handleSubmit); + this.form.on('submit', this.handleSubmit); this.form.on('click', '.btn-cancel', this.resetAutosave); this.initWip(); |