mirror of
1
Fork 0
forgejo/templates/repo/issue
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
..
fields Add validations.required check to dropdown field (#24849) 2023-05-22 21:26:48 +00:00
labels Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
milestone Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
view_content Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
branch_selector_field.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
choose.tmpl Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
comment_tab.tmpl Improve markdown editor: width, height, preferred (#23895) 2023-04-07 13:03:29 -04:00
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 2022-01-11 12:11:40 -06:00
labels.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
list.tmpl Don't display `select all issues` checkbox when no issues are available (#25086) 2023-06-06 08:19:24 +08:00
milestone_issues.tmpl Add Progressbar to Milestone Page (#25050) 2023-06-05 14:25:46 +08:00
milestone_new.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
milestones.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
navbar.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
new_form.tmpl Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
search.tmpl Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
view_content.tmpl Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
view_title.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00