gitea/web_src
Alexander Scheel 4497db96e0
Auto-init repo on license, .gitignore select (#12202)
* Auto-init repo on license, .gitignore select

When a .gitignore or LICENSE file is added, the user is expecting the
repository to be auto-initialized. However, nothing sets the auto_init
value, so it remains at its default. We should set it to checked when
a .gitignore or LICENSE file is added, matching user expectations. If
the user clears .gitignore or LICENSE, it will leave repository creation
enabled. If the user changes the value again, it will re-check the box
if the user has since de-checked it. This behavior is at least
consistent.

Resolves: #11071

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-23 13:46:41 +03:00
..
fomantic Update fomantic-ui to 2.8.5 (#11736) 2020-06-03 22:24:04 -04:00
fonts/noto-color-emoji Fonts rework (#12114) 2020-07-06 11:56:54 +03:00
js Auto-init repo on license, .gitignore select (#12202) 2020-07-23 13:46:41 +03:00
less Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
svg Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00