Fix the SlideDown so that it slides up again when you click on it rather than re-sliding down. I'm a bit unsure by the toggle method as it seems to be implied that it is deprecated in the scriptaculous source, but I can't see any kind of replacement

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@473525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2006-11-10 21:58:50 +00:00
parent c0a9ef1f2c
commit c57f5787a8
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@
</tr>
<tr>
<th>POM Snippet</th>
<td><a href="#" onclick="Effect.SlideDown('repoPom${repository.id}'); return false;">Show POM Snippet</a><br />
<td><a href="#" onclick="Effect.toggle('repoPom${repository.id}','slide'); return false;">Show POM Snippet</a><br />
<pre class="pom" style="display: none;" id="repoPom${repository.id}"><code>&lt;project>
...
&lt;distributionManagement>