mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
add milestone changed traker on issue view (#804)
This commit is contained in:
@ -168,6 +168,12 @@ function initCommentForm() {
|
||||
var $list = $('.ui' + select_id + '.list');
|
||||
var hasUpdateAction = $menu.data('action') == 'update';
|
||||
|
||||
$(select_id).dropdown('setting', 'onHide', function(){
|
||||
if (hasUpdateAction) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
$menu.find('.item:not(.no-select)').click(function () {
|
||||
$(this).parent().find('.item').each(function () {
|
||||
$(this).removeClass('selected active')
|
||||
|
Reference in New Issue
Block a user