From 51417f8447de63ecf2faf607498e4aa0c3db73a2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 17 2016 16:09:24 +0000 Subject: Improve a little the debugging in the issue page --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index dcb098a..38dd952 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -594,7 +594,6 @@ source.addEventListener('message', function(e) { {% if authenticated and form %} function set_ui_for_comment(setting){ - console.log(setting) if (setting == false) { $(document.body).find('input[type="submit"]').removeAttr("disabled"); document.body.style.cursor = 'default'; @@ -604,6 +603,7 @@ function set_ui_for_comment(setting){ } } function try_async_comment(form) { + console.log('Submitting form:'); console.log(form); set_ui_for_comment(true); var _data = $(form).serialize();