Opened 14 years ago

Closed 14 years ago

#334 closed defect (fixed)

copy/paste error in xsl/main-page.xsl

Reported by: landry Owned by: geonetwork-devel@…
Priority: critical Milestone: v2.6.0
Component: Web Map Viewer Version: v2.6.0
Keywords: Cc:

Description

In initMapViewer(), the projection/bounds/restrictedBounds values are taken from /root/gui/config/mapSearch/ config tree, whereas they should be taken from /root/gui/config/mapViewer subtree.

 <xsl:when test="/root/gui/config/mapViewer/proj/crs/@code">
                                  ^^^^^^^^^^
     var projection = "<xsl:value-of select='/root/gui/config/mapSearch/proj/crs/@code'/>";
                                                              ^^^^^^^^^^
</xsl:when>

Change History (1)

comment:1 by josegar74, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.