mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-23 10:08:02 +08:00
WIP: create PR - choose branch
This commit is contained in:
@ -93,6 +93,17 @@ function initRepository() {
|
||||
$('#add-deploy-key-panel').show();
|
||||
});
|
||||
}
|
||||
|
||||
// Pull request
|
||||
if ($('.repository.compare.pull').length > 0) {
|
||||
$('.choose.branch .dropdown').dropdown({
|
||||
action: 'hide',
|
||||
fullTextSearch: true,
|
||||
onNoResults: function () {
|
||||
$('.choose.branch .dropdown .active').addClass('selected');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
Reference in New Issue
Block a user