Submit contributions via form #119

Merged
raucao merged 13 commits from feature/118-contribution_form into master 2019-05-29 07:49:16 +00:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit e84a1cbc4e - Show all commits
1
@@ -57,7 +57,6 @@ export default Component.extend({
this.save(attributes)
.then((/*contribution*/) => {
this.reset();
window.scroll(0,0);
}, err => {
console.warn(err);
window.alert('Something went wrong. Check the browser console for details.');
@@ -60,7 +60,6 @@ export default Component.extend({
this.save(contributor).then(() => {
this.reset();
galfert commented 2019-05-28 14:19:36 +00:00 (Migrated from github.com)
Review

Same as above, the reset and scrolling is not necessary. I guess that's still from when the form was on the index page.

Same as above, the reset and scrolling is not necessary. I guess that's still from when the form was on the index page.
window.scroll(0,0);
}).catch(err => {
console.warn(err);
window.alert('Something went wrong. Please check the browser console.');