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

Commit

Permalink
Pass the content to the template
Browse files Browse the repository at this point in the history
  • Loading branch information
doruk.ozturk committed Dec 1, 2016
1 parent f956cbd commit 8fc98de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web_external/js/views/widgets/WMSFeatureInfoWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
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}

0 comments on commit 8fc98de

Please sign in to comment.