1
0
Fork 0
forked from forgejo/forgejo

fix autocomplete on migration

This commit is contained in:
Unknwon 2015-08-15 18:16:39 +08:00
parent ce8864c69a
commit c8bb475abb
6 changed files with 17 additions and 18 deletions

View file

@ -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