You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
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>
5 years ago
..
components Insert ui divider directly in templates instead of from inside heatmap vue component (#11508) 5 years ago
features Direct SVG rendering (#12157) 5 years ago
markdown Direct SVG rendering (#12157) 5 years ago
standalone Reorganize frontend files and tooling (#10168) 5 years ago
vendor Rewrite GitGraph.js (#12137) 5 years ago
index.js Auto-init repo on license, .gitignore select (#12202) 5 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
publicpath.js Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) 5 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 5 years ago
svg.js Update Octicons to v10 (#12240) 5 years ago
utils.js Direct SVG rendering (#12157) 5 years ago