This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/templates/repo/diff
Harshit Bansal 28cc3bd662 Fix wrong text getting saved on editing second comment on an issue. (#5608) (#5615)
* 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 11:52:06 -05:00
..
box.tmpl Fix wrong text getting saved on editing second comment on an issue. (#5608) (#5615) 2018-12-31 11:52:06 -05:00
comment_form.tmpl Add comment replies (#5147) 2018-10-23 10:38:06 -04:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
page.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
section_unified.tmpl Add comment replies (#5147) 2018-10-23 10:38:06 -04:00
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00