diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2015-04-01 21:30:26 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2015-04-01 21:30:26 -0400 |
| commit | acd73bdf5f351445b4b66c28dd0e3a8883d4face (patch) | |
| tree | 79dd1e2e2e862ef35b8c9aa56ecdc2fc424e9cc6 /import.py | |
| parent | be0df053aff9585b838290d4d6d9bc1716f56b8a (diff) | |
| download | famille-flask-acd73bdf5f351445b4b66c28dd0e3a8883d4face.tar.gz | |
Add edit comment feature
This is handled in javascript. When clicking the edit link:
1. a form is shown to edit the RST source of the comment.
2. on submit, an AJAX POST request is sent to the new "comment" endpoint in the
flask app.
3. the endpoint compiles the RST source, update the comment in the database and
sends back formatted content to the client.
4. the client then updates the comment content and hides the form.
Diffstat (limited to 'import.py')
0 files changed, 0 insertions, 0 deletions
