Closed jglamine closed 8 years ago
Fixes #585
Right now, it's impossible to edit articles. A JavaScript error is thrown when the page loads, preventing the form's onsubmit handler from loading.
As a result, the 'submit' button posts to /submit (which does not exist) instead of making an xhr post to /api/submit.
I've tested the following:
Everything looks good to go.
Thanks for fixing this, @jglamine -- I really appreciate it.
Fixes #585
Right now, it's impossible to edit articles. A JavaScript error is thrown when the page loads, preventing the form's onsubmit handler from loading.
As a result, the 'submit' button posts to /submit (which does not exist) instead of making an xhr post to /api/submit.