mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 15:21:00 +08:00
fix autocomplete on migration
This commit is contained in:
@ -172,15 +172,6 @@ function initRepository() {
|
||||
return;
|
||||
}
|
||||
|
||||
// New migrate
|
||||
if ($('.repository.new.migrate').length > 0) {
|
||||
// Clear browser autocomplete.
|
||||
if ($('#auth_username').data('need-clear')) {
|
||||
$('#auth_username').val('');
|
||||
$('#auth_password').val('');
|
||||
}
|
||||
}
|
||||
|
||||
// Labels
|
||||
if ($('.repository.labels').length > 0) {
|
||||
// Create label
|
||||
|
Reference in New Issue
Block a user