Skip to content

Commit

Permalink
modified metadata-show so that the metadata-show showMapPanel gui par…
Browse files Browse the repository at this point in the history
…ameter works better
  • Loading branch information
Jesse Eichar authored and ianwallen committed Feb 26, 2013
1 parent b9b2a36 commit dddbaa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/main/webapp/xsl/metadata-show.xsl
Expand Up @@ -122,13 +122,12 @@
<xsl:variable name="typeWMS"><xsl:copy-of select="/root/request/type"/></xsl:variable> <xsl:variable name="typeWMS"><xsl:copy-of select="/root/request/type"/></xsl:variable>




<xsl:if test="$showMap!='false'">
<script type="text/javascript"> <script type="text/javascript">


function init() {}; function init() {};


if ('<xsl:value-of select="$showMap"/>' !== 'true') {
return; // only show mappanel if configuration says to.
}
var getIMServiceURL = function(service){ var getIMServiceURL = function(service){
// FIXME: the "/intermap/" context should be parametrized // FIXME: the "/intermap/" context should be parametrized
return "/intermap/srv/"+Env.lang+"/"+service; return "/intermap/srv/"+Env.lang+"/"+service;
Expand Down Expand Up @@ -271,6 +270,7 @@
} }


</script> </script>
</xsl:if>
</xsl:template> </xsl:template>


<xsl:template name="content"> <xsl:template name="content">
Expand Down

0 comments on commit dddbaa4

Please sign in to comment.