Skip to content
Snippets Groups Projects
Commit 64572b53 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Cleanup test for disabling comment submit button

parent 9b4b79ff
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