gitea/templates/repo/issue/view_content
yp05327 b5a2bb9ab3
Fix strange UI behavior of cancelling dismiss review modal (#25133)
Fixes https://github.com/go-gitea/gitea/issues/25130

The old code uses `$(this).next()` to get `dismiss-review-modal`.
At first, it will get `$(#dismiss-review-modal)`, but the next time it
will get `$(#dismiss-review-modal).next();`
and then `$(#dismiss-review-modal).next().next();`.
Because div `dismiss-review-modal` will be removed when
`dismiss-review-btn` clicked.

Maybe the right usage is adding `show-modal` class and `data-modal`
attribute.
2023-06-08 08:52:35 +00:00
..
add_reaction.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
attachments.tmpl Improve template helper functions: string/slice (#24266) 2023-04-22 14:16:22 -04:00
comments.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
comments_delete_time.tmpl Fix missing yes/no in delete time log modal (#24851) 2023-05-22 09:46:50 +00:00
context_menu.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
pull.tmpl Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
pull_merge_instruction.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
reactions.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
reference_issue_dialog.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
sidebar.tmpl Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
update_branch_by_merge.tmpl Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (#23790) 2023-03-30 13:00:49 -04:00