Skip to content

Commit

Permalink
Merge branch 'geocat/stable' into geocat/trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Eichar committed Jun 22, 2012
2 parents 8e29e6a + 42be3e0 commit a2e9d6a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 52 deletions.
1 change: 0 additions & 1 deletion web/pom.xml
Expand Up @@ -526,7 +526,6 @@
<!-- files to include, path relative to output's directory or absolute path-->
<includes>
<include>${geonetwork.build.dir}/scripts/sarissa.js</include>
<include>${geonetwork.build.dir}/scripts/prototype.js</include>
</includes>
</aggregation>
<aggregation>
Expand Down
9 changes: 1 addition & 8 deletions web/src/main/webapp/xsl/extent-admin.xsl
Expand Up @@ -17,14 +17,7 @@
<xsl:template mode="script" match="/">

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loaded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:call-template name="geoHeader"/>
<xsl:call-template name="mapfish_script_includes"/>
Expand Down
9 changes: 1 addition & 8 deletions web/src/main/webapp/xsl/extent-edit.xsl
Expand Up @@ -16,14 +16,7 @@
<xsl:template mode="script" match="/">

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loaded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:call-template name="geoHeader"/>
<xsl:call-template name="mapfish_script_includes"/>
Expand Down
4 changes: 2 additions & 2 deletions web/src/main/webapp/xsl/geo/utils.xsl
Expand Up @@ -22,14 +22,14 @@
<script type="text/javascript" src="{/root/gui/url}/scripts/form_check.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.scriptaculous.js"></script>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.js"></script>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template name="geoCssHeader">
<xsl:template name="geoCssHeader">ß
<link rel="stylesheet" type="text/css" href="../../scripts/ext/resources/css/ext-all.css"/>
<link rel="stylesheet" type="text/css" href="{/root/gui/url}/scripts/ext/resources/css/file-upload.css" />
<link rel="stylesheet" type="text/css" href="../../scripts/openlayers/theme/geonetwork/style.css"/>
Expand Down
9 changes: 1 addition & 8 deletions web/src/main/webapp/xsl/geocat.xsl
Expand Up @@ -23,14 +23,7 @@
<xsl:template mode="script" match="/">

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loaded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:call-template name="geoHeader"/>
<xsl:call-template name="mapfish_script_includes"/>
Expand Down
9 changes: 1 addition & 8 deletions web/src/main/webapp/xsl/main-page.xsl
Expand Up @@ -19,14 +19,7 @@
<xsl:template mode="script" match="/">

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loadded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:call-template name="geoHeader"/>

Expand Down
Expand Up @@ -15,14 +15,7 @@
<xsl:template mode="script" match="/">

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loaded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:call-template name="geoHeader"/>
<script src="{/root/gui/url}/scripts/RowExpander.js" type="text/javascript"/>
Expand Down
10 changes: 1 addition & 9 deletions web/src/main/webapp/xsl/search-results.xsl
Expand Up @@ -28,15 +28,7 @@
</script>

<!-- To avoid an interaction with prototype and ExtJs.Tooltip, should be loadded before ExtJs -->
<xsl:choose>
<xsl:when test="/root/request/debug">
<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>
</xsl:when>
<xsl:otherwise>
<script type="text/javascript" src="{/root/gui/url}/scripts/lib/gn.libs.js"></script>
</xsl:otherwise>
</xsl:choose>

<script type="text/javascript" src="{/root/gui/url}/scripts/prototype.js"></script>

<xsl:choose>
<xsl:when test="/root/request/debug">
Expand Down

0 comments on commit a2e9d6a

Please sign in to comment.