From 1627d10600f6c0b45f90fc941ba45f30daec5286 Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Wed, 18 Jul 2018 09:33:29 +0200 Subject: [PATCH] remove disabling of the RFC button after having posted an RFC --- app/assets/javascripts/editor/participantsupport.js.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/editor/participantsupport.js.erb b/app/assets/javascripts/editor/participantsupport.js.erb index 63787f4a..a826cbf0 100644 --- a/app/assets/javascripts/editor/participantsupport.js.erb +++ b/app/assets/javascripts/editor/participantsupport.js.erb @@ -89,7 +89,8 @@ CodeOceanEditorRequestForComments = { this.createSubmission($('#requestComments'), null, createRequestForComments.bind(this)); $('#comment-modal').modal('hide'); - var button = $('#requestComments'); - button.prop('disabled', true); + // we disabled the button to prevent that the user spams RFCs, but decided against this now. + //var button = $('#requestComments'); + //button.prop('disabled', true); }, }; \ No newline at end of file