Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

protect WMSCSource code against not having this.store.reader.raw as w…

…as done in other parts of the code
  • Loading branch information...
commit 1dc4e64169d1e1f7b669b67d9a8cea2d2f1592dc 1 parent 98ead0d
Bart van den Eijnden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/script/plugins/WMSCSource.js
View
2  src/script/plugins/WMSCSource.js
@@ -170,7 +170,7 @@ gxp.plugins.WMSCSource = Ext.extend(gxp.plugins.WMSSource, {
name = config.name,
tileSetsCap,
layer = record.getLayer();
- if (config.capability) {
+ if (config.capability && this.store.reader.raw) {
var capability = this.store.reader.raw.capability;
var tileSets = capability.vendorSpecific && capability.vendorSpecific.tileSets;
if (tileSets) {
Please sign in to comment.
Something went wrong with that request. Please try again.