From dcc9c59545fe24a0253e41914adbb0b9194a8687 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 14 2015 16:08:54 +0000 Subject: Currently the SSE server doesn't do anything with private issue, so don't even try Otherwise, we break the UX as the page relies on the SSE to refresh but the SSE doesn't do anything, so let's not even try the SSE so that we get the regular http GET/POST behavior --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index a572b78..8bec524 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -360,7 +360,7 @@ $(function() { }); -{% if config['EVENTSOURCE_SOURCE'] %} +{% if config['EVENTSOURCE_SOURCE'] and not issue.private %}