diff --git a/apps/common/main/lib/view/Comments.js b/apps/common/main/lib/view/Comments.js index c5b7bc6ca6..16e9e26c0a 100644 --- a/apps/common/main/lib/view/Comments.js +++ b/apps/common/main/lib/view/Comments.js @@ -413,18 +413,21 @@ define([ caption: this.textOpen, checkable: true, visible: true, + toggleGroup: 'filterstatus', value: 'open' }, { caption: this.textResolved, checkable: true, visible: true, + toggleGroup: 'filterstatus', value: 'resolved' }, { caption: this.textAll, checkable: true, visible: true, + toggleGroup: 'filterstatus', value: 'all', checked: true } @@ -939,13 +942,6 @@ define([ }, onFilterCommentsClick: function(menu, item, state) { - if (!state) return; - - menu.items.forEach(function (it) { - if (it !== item) { - it.setChecked(false); - } - }); state && this.fireEvent('comment:filtercomments', [item.value]); },