Skip to content

Uncaught TypeError: Cannot read property 'getViewSize' of null #20

Description

@pepebe

Another error in the console after loading a manager page including gmapstv:

This happens in 2.2.16 as well as 2.5.0

mapstv.js?v=250pl:234 Uncaught TypeError: Cannot read property 'getViewSize' of null

// assets/components/mapstv/js/mgr/mapstv.js?v=250pl line 234: var width = Ext.get('modx-resource-settings').getViewSize().width - vtabswidth - padding;
This part of the function should be triggered 'afterrender' at which point 'modx-resource-settings' should already be present.

I don't get it.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions