Track labels changed on issue view & resolved #542 (#788)

* track labels changed on issue view & resolved #542

* add missing head comment & sort & fix refresh
This commit is contained in:
Lunny Xiao 2017-01-30 20:46:45 +08:00 committed by GitHub
parent d078aa30d6
commit f94869d2d1
10 changed files with 366 additions and 195 deletions

View file

@ -108,6 +108,10 @@ function initCommentForm() {
});
}
$('.select-label').dropdown('setting', 'onHide', function(){
location.reload();
});
$labelMenu.find('.item:not(.no-select)').click(function () {
if ($(this).hasClass('checked')) {
$(this).removeClass('checked');