gitea/templates/repo
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
..
branch Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
diff Fix wrong text getting saved on editing second comment on an issue. (#5608) 2018-12-31 13:01:20 +01:00
editor Fix file edit change preview functionality (#5300) 2018-11-09 14:05:43 +02:00
issue Fix wrong text getting saved on editing second comment on an issue. (#5608) 2018-12-31 13:01:20 +01:00
pulls Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
release Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
settings Add rebase with merge commit merge style (#3844) (#4052) 2018-12-27 12:27:08 +02:00
wiki Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
activity.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
bare.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
create.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
home.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
migrate.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
user_cards.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
view_file.tmpl Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
view_list.tmpl Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00