create link to timeslider while runtime instead of doing a javascript link

pull/35/head
Peter 'Pita' Martischka 2011-06-30 12:10:50 +01:00
parent a4627a4b6d
commit 8d5770e44a
1 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,10 @@ var clientVars = {}; // ]]>
</li> </li>
<li> <li>
<a href="javascript:document.location = document.location+ '/timeslider'" title="Show the history of this pad"> <a id="timesliderlink" title="Show the history of this pad">
<script>
$("#timesliderlink").attr("href", document.location+ '/timeslider');
</script>
<img src="/static/img/editbar_timeslider.gif" /> <img src="/static/img/editbar_timeslider.gif" />
</a> </a>
</li> </li>