..F....... [ZBXNEXT-570] fixed jQuery producing error when there are no items in list, but main checkbox is being clicked