1
0
Fork 0
forked from forgejo/forgejo

#1180 and #1250: migration

This commit is contained in:
Unknwon 2015-08-15 16:03:20 +08:00
parent b35d7eee31
commit e633425f27
10 changed files with 231 additions and 116 deletions

View file

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