Skip to content

Commit

Permalink
Merge branch 'hotfix/1.60.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Sep 25, 2020
2 parents d27a5a7 + f4538f2 commit 4911ebf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
#Tue Jun 20 09:06:54 EST 2017
app.grails.version=2.5.6
app.name=fieldcapture
app.version=1.60
app.version=1.60.1

2 changes: 2 additions & 0 deletions grails-app/views/activity/activityReportView.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,14 @@
var reportSite = ${reportSite?.encodeAsJSON() ?: '{}' };
var formFeatures = new ecodata.forms.FeatureCollection(reportSite ? reportSite.features : []);
fcConfig.featureCollection = formFeatures;
<g:if test="${!printView}">
var mapOptions = {};
if (fcConfig.useGoogleBaseMap) {
mapOptions.baseLayersName = 'Google'; // Default is Open Street Maps
}
// Initialise our map so we can supply options (otherwise it's initialised with defaults)
ecodata.forms.maps.featureMap(mapOptions);
</g:if>
}
$('.imageList a[target="_photo"]').attr('rel', 'gallery').fancybox({type:'image', autoSize:true, nextEffect:'fade', preload:0, 'prevEffect':'fade'});
Expand Down
2 changes: 0 additions & 2 deletions grails-app/views/layouts/nrmPrint.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@

</asset:script>
</g:if>

<r:layoutResources/>
</body>
</html>

0 comments on commit 4911ebf

Please sign in to comment.