Skip to content
Snippets Groups Projects
Commit d6abee51 authored by Clement Ho's avatar Clement Ho
Browse files

Merge branch 'winh-cleanup-comment-submit-test' into 'master'

Cleanup test for disabling comment submit button

See merge request gitlab-org/gitlab-ce!17930
parents 8cdd3a6b 64572b53
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1809,9 +1809,11 @@ export default class Notes {
}
}
 
$closeBtn.text($closeBtn.data('originalText'));
/* eslint-disable promise/catch-or-return */
// Make request to submit comment on server
axios
return axios
.post(`${formAction}?html=true`, formData)
.then(res => {
const note = res.data;
Loading
Loading
@@ -1928,8 +1930,6 @@ export default class Notes {
this.reenableTargetFormSubmitButton(e);
this.addNoteError($form);
});
return $closeBtn.text($closeBtn.data('originalText'));
}
 
/**
Loading
Loading
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment