create the link back to the pad while runtime instead of doing a javascript link

This commit is contained in:
Peter 'Pita' Martischka 2011-06-30 12:16:04 +01:00
parent 8d5770e44a
commit 7f17eb9903
1 changed files with 4 additions and 1 deletions

View File

@ -275,7 +275,10 @@
<div id="editbarright" class="editbarright">
<!-- termporary place holder-->
<a id = "returnbutton" href="javascript:document.location=document.location.href.substring(0,document.location.href.lastIndexOf('/timeslider'))">Return to pad</a>
<a id = "returnbutton">Return to pad</a>
<script>
$("#returnbutton").attr("href", document.location.href.substring(0,document.location.href.lastIndexOf('/timeslider')));
</script>
</div>
<div id="editbarinner" class="editbarinner">