Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Collection geojson properties on click #383

Merged
merged 8 commits into from
Dec 5, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass the content to the template
doruk.ozturk committed Dec 1, 2016

Verified

This commit was signed with the committer’s verified signature.
commit 8fc98de509c3e86f427c5e21e37cee0db63c5fc1
2 changes: 1 addition & 1 deletion web_external/js/views/widgets/WMSFeatureInfoWidget.js
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ minerva.views.WmsFeatureInfoWidget = minerva.View.extend({
renderContents: function (inspectResp) {
$('#m-wms-info-dialog').html(
minerva.templates.wmsFeatureInfoContent({
contents: inspectResp
layersInfo: inspectResp
})
);
if (inspectResp.length !== 0) {
2 changes: 1 addition & 1 deletion web_external/templates/widgets/wmsFeatureInfoContent.jade
Original file line number Diff line number Diff line change
@@ -1 +1 @@
h1 Hooray
h4 #{layersInfo}