1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 01:33:09 +00:00
forgejo/public
Harshit Bansal 2c7661a524 Fix wrong text getting saved on editing second comment on an issue. (#5608)
* comments: Fix an incorrent DOM element selection.

This commit fixes a bug that was causing text from previously edited
comment to get saved when two comments were edited one after other.
Text area with id of `#content` isn't unique on the page but it was
being treated as unique by the event handling code.

Fixes: #5581.

* templates: Remove `id` from textarea in commit edit form.

An element is assigned an `id` only if it is unique for the whole page
but in this case there can be multiple textarea so it should have one.
2018-12-31 13:01:20 +01:00
..
css Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00
img Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
js Fix wrong text getting saved on editing second comment on an issue. (#5608) 2018-12-31 13:01:20 +01:00
less Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00
vendor Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00