Commit 873c93e1 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

канбан-доска - добавлено событие фильтрации по коду фильтра реестра

parent c6babb5c
......@@ -475,9 +475,17 @@ compContainer.off()
}
KanbanBoard.reset();
KanbanBoard.render();
}).on('changeFilterCode', e => {
if(!e.hasOwnProperty('eventParam')) return;
if(e.eventParam.filterCode && e.eventParam.filterCode !== "") {
KanbanBoard.filterCode = e.eventParam.filterCode;
} else {
KanbanBoard.filterCode = null;
}
KanbanBoard.reset();
KanbanBoard.render();
});
$(document).off()
.on('contextmenu', () => $('.board-context-menu').remove())
.on('click', () => $('.board-context-menu').remove());
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment