Skip to content

select/Row.js has non-relative path for dependency "query" #429

@RSantosGIS

Description

@RSantosGIS

I am using gridx in a standalone widget and ran into an issue with the gridx/modules/select/Row.js module, which, when loaded, cannot resolve the path as stated. The path as written is:
Line 8: 'gridx/support/query'
this is fine if you control the web app config and can ensure resolution of "gridx" to the right resource path. However, in the case of a standalone widget you cannot be sure this is the case, and regardless this is inconsistent with the relative paths used to invoke gridx resources everywhere else in the library. Changing to this solves the problem:
Line 8: '../../support/query'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions