diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2017-11-10 18:03:51 +0300 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-01-21 05:43:39 +0300 |
commit | a3c387895718b88c58bc89c193e5f6c285adbd43 (patch) | |
tree | 1ac9165e4ed3176702c0ad68777bdde534d8edf5 /app/assets/javascripts/templates | |
parent | ba02e3a5dfb0fb95a1a32b81e893b6fe2ea39b9e (diff) |
Stop loading spinner on error of issuable templates
Diffstat (limited to 'app/assets/javascripts/templates')
-rw-r--r-- | app/assets/javascripts/templates/issuable_template_selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/templates/issuable_template_selector.js b/app/assets/javascripts/templates/issuable_template_selector.js index 8e167f5bf08..4cc1c96b870 100644 --- a/app/assets/javascripts/templates/issuable_template_selector.js +++ b/app/assets/javascripts/templates/issuable_template_selector.js @@ -32,8 +32,8 @@ export default class IssuableTemplateSelector extends TemplateSelector { this.startLoadingSpinner(); Api.issueTemplate(this.namespacePath, this.projectPath, query.name, this.issuableType, (err, currentTemplate) => { this.currentTemplate = currentTemplate; - if (err) return; // Error handled by global AJAX error handler this.stopLoadingSpinner(); + if (err) return; // Error handled by global AJAX error handler this.setInputValueToTemplateContent(); }); return; |