geoext / geoext2

GeoExt 2 — JavaScript Toolkit for Rich Web Mapping Applications
http://geoext.github.io/geoext2/
Other
142 stars 106 forks source link

Fix JavaScript error when the map panel is loaded in a hidden ExtJS tab #368

Closed marcjansen closed 8 years ago

marcjansen commented 8 years ago

When the map panel is loaded in an initially hidden ExtJS tab, the owner tree is not yet rendered, so call to "node.getOwnerTree()" returns undefined. This caused an error message when trying to call "node.getOwnerTree().getChecked()".

Backported from 5cb2864198b8901c6ca0af01f59c35f02ed438da

See also #367

Cheers for any review.

chrismayer commented 8 years ago

Thanks for the backport @marcjansen. Feel free to merge.

marcjansen commented 8 years ago

Thanks for the review, Chris.