diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-04 18:35:40 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-04 19:37:32 +0000 |
commit | ebdea371381649907d9d4ebb58f3d5000fa5d740 (patch) | |
tree | 90fb1094967a4f4c327dee8d95af3c23eb36dc4e /app/assets/javascripts/templates | |
parent | 115aac77f614a9130aa9bc6ff48aed47339aebfc (diff) | |
download | gitlab-ce-ebdea371381649907d9d4ebb58f3d5000fa5d740.tar.gz |
Fix remove template26346-cannot-reset-or-remove-mr-issues-description-templates
Diffstat (limited to 'app/assets/javascripts/templates')
-rw-r--r-- | app/assets/javascripts/templates/issuable_template_selector.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/templates/issuable_template_selector.js.es6 b/app/assets/javascripts/templates/issuable_template_selector.js.es6 index d2b152045b4..bdec948fb63 100644 --- a/app/assets/javascripts/templates/issuable_template_selector.js.es6 +++ b/app/assets/javascripts/templates/issuable_template_selector.js.es6 @@ -23,7 +23,7 @@ }); $('.no-template', this.dropdown.parent()).on('click', () => { - this.currentTemplate = ''; + this.currentTemplate.content = ''; this.setInputValueToTemplateContent(); $('.dropdown-toggle-text', this.dropdown).text('Choose a template'); }); |