Fix reply on code review#10227
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10227 +/- ##
==========================================
- Coverage 43.63% 43.55% -0.09%
==========================================
Files 576 583 +7
Lines 79716 80263 +547
==========================================
+ Hits 34783 34956 +173
- Misses 40635 40969 +334
- Partials 4298 4338 +40
Continue to review full report at Codecov.
|
guillep2k
left a comment
There was a problem hiding this comment.
Just one question, anyway LGTM
|
|
||
| window.submitReply = function (btn) { | ||
| const form = $(btn).closest('form'); | ||
| if (form.length > 0 && form.hasClass('comment-form')) { |
There was a problem hiding this comment.
Just copied from onCodeReviewClicked. :)
|
Why not just use |
I have tried that, but it's not work. |
silverwind
left a comment
There was a problem hiding this comment.
Guess I won't block as this is a bugfix, but these form submissions should be cleaned up to work without JS.
6543
left a comment
There was a problem hiding this comment.
yes a other pr can minimize js for souch things :)
|
make L-G-T-M work |
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
* Fix branch page pull request title and link error (#10092) * Fix branch page pull request title and link error * Fix ui * Fix reply on code review (#10227) Co-authored-by: zeripath <art27@cantab.net> * Revert unrelated change * Fix lint Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
Should fix #9891