mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00: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