forgejo/templates/repo/issue
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
..
view_content Add rebase with merge commit merge style (#3844) (#4052) 2018-12-27 12:27:08 +02:00
branch_selector_field.tmpl hide branch on pull request view or create UI (#2454) 2017-09-06 15:02:51 +03:00
comment_tab.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
list.tmpl Multiple assignees (#3705) 2018-05-09 19:29:04 +03:00
milestone_issues.tmpl Milestone issues and pull requests (#5293) 2018-11-29 09:46:30 +08:00
milestone_new.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
milestones.tmpl Milestone issues and pull requests (#5293) 2018-11-29 09:46:30 +08:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
new_form.tmpl allow WIP marker to contains < or > (#4709) 2018-08-19 15:00:10 -04:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
view.tmpl Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
view_content.tmpl Fix wrong text getting saved on editing second comment on an issue. (#5608) 2018-12-31 13:01:20 +01:00
view_title.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00