Skip to content

Commit

Permalink
Remove Check For Feature Layer
Browse files Browse the repository at this point in the history
  • Loading branch information
danbatsb committed Nov 19, 2015
1 parent 3149985 commit bf81b9f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/tasks/LayerInfoTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ define(["dojo/Deferred", "esri/layers/FeatureLayer", "esri/renderers/jsonUtils",
this. _supportsPagination = function (source) {
// check if featurelayer supports pagination remove at 3.14
var supported = false;
if (source.featureLayer) {
// supports pagination
if (source.advancedQueryCapabilities && source.advancedQueryCapabilities.supportsPagination) {
supported = true;
}

// supports pagination
if (source.advancedQueryCapabilities && source.advancedQueryCapabilities.supportsPagination) {
supported = true;
}

return supported;
};

Expand Down

0 comments on commit bf81b9f

Please sign in to comment.