From ee4eb73c61c3141d2106f060aa6df5963ff8fc38 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 30 2018 10:01:21 +0000 Subject: Support adding comments to issues without reloading and without the SSE Note this currently only supports adding new comments, no metadata-changes. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/static/issue_ev.js b/pagure/static/issue_ev.js index 53ec345..f5cd990 100644 --- a/pagure/static/issue_ev.js +++ b/pagure/static/issue_ev.js @@ -148,9 +148,11 @@ add_comment = function(data, username) { \ ' + data.comment_user + '\ \ - \ - seconds ago \ + '; + } + _data += 'seconds ago \ \ \
\ @@ -163,11 +165,14 @@ add_comment = function(data, username) { \
\