post_comment.js, media.html: Add AJAX for posting comments
authorvijeth-aradhya <vijthaaa@gmail.com>
Sun, 22 Jan 2017 18:27:16 +0000 (23:57 +0530)
committerBoris Bobrov <breton@cynicmansion.ru>
Sun, 29 Jan 2017 13:52:26 +0000 (16:52 +0300)
commitc427278e5047f2cc3bc2ffde58de01d4726d1871
tree5e11e9b3ee9107b91b76d13c9c4fb15571024456
parentbe44e006264381998cd452c949d2bfdf84ccf70d
post_comment.js, media.html: Add AJAX for posting comments

Stop reloading the page when a comment is posted which helps
in not stopping the media being played (for example, a song)

Fixes https://issues.mediagoblin.org/ticket/868
mediagoblin/static/js/post_comment.js [new file with mode: 0644]
mediagoblin/templates/mediagoblin/user_pages/media.html