Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tmcgee/cmv-widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgee committed Dec 18, 2016
2 parents 008f0ca + cd6ddc7 commit 5751cce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion widgets/AttributesTable/_QueryTaskMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ define([

url = layer.url;
} else if (layer.declaredClass === 'esri.layers.ArcGISDynamicMapServiceLayer') { // Dynamic Layer
whereByLayerDef = layer.layerDefinitions[qp.sublayerID];
whereByLayerDef = layer.layerDefinitions ? layer.layerDefinitions[qp.sublayerID] : null;


if (qp.sublayerID !== null) {
url = layer.url + '/' + qp.sublayerID;
Expand Down

0 comments on commit 5751cce

Please sign in to comment.