Skip to content

history error #25

@janat08

Description

@janat08

tries to access state.history.params, and while it's defined before and after the access, it will fail if there's another router being used.

typeNX.js:2385 Uncaught TypeError: Cannot read property 'params' of null
    at syncStatesWithParams (typeNX.js:2385)
    at eval (typeNX.js:2352)
    at SmartWizard._setURLHash (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:544)
    at SmartWizard._transitPage (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:460)
    at SmartWizard._loadStepContent (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:404)
    at SmartWizard._showStep (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:354)
    at SmartWizard.init (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:121)
    at new SmartWizard (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:88)
    at HTMLDivElement.eval (/node_modules/smartwizard/dist/js/jquery.smartWizard.js:638)
    at Function.each (modules.js?hash=fa65c5222d37ccb63afe46b49c068a2095600027:6549)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions