Skip to content

Commit

Permalink
Wait for the map widget to finish loading results before allowing pow…
Browse files Browse the repository at this point in the history
…erpoint export so they're visible in the scheduled exported report.
  • Loading branch information
tung-jin-chew-hp committed Mar 16, 2017
1 parent 26115b5 commit ffb6aed
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ define([
return this.mapView.getIcon(locationField.iconName, locationField.iconColor, locationField.markerColor);
},

postInitialize: function(){
return this.getData();
},

getData: function() {
if(!this.hasRendered) {
return $.when();
Expand Down

0 comments on commit ffb6aed

Please sign in to comment.