Skip to content

Javascript error in bzkanban.js - easy fix #81

@addw

Description

@addw

Near line 1000:
switch (obj.code) {

obj.code is a number but the case values are strings ("32000" and "410") - so they will never match as comparison in a switch is strict (aka ===).

The fix is to remove the quotes round the numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions