forked from forgejo/forgejo
parent
b35d7eee31
commit
e633425f27
10 changed files with 231 additions and 116 deletions
|
@ -118,7 +118,6 @@ function initCommentForm() {
|
|||
$(this).removeClass('selected active')
|
||||
});
|
||||
|
||||
|
||||
if (has_update_action) {
|
||||
updateIssueMeta($menu.data('update-url'), '', '');
|
||||
}
|
||||
|
@ -173,6 +172,15 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue