@@ -1,4 +1,9 @@
|
||||
$(document).ready(function() {
|
||||
$('#historyback').click(function() {
|
||||
parent.history.back();
|
||||
return false;
|
||||
});
|
||||
|
||||
// this is necessary for the special setting feature (ref #1010)
|
||||
$.getQueryVariable = function(key) {
|
||||
var urlParams = decodeURI( window.location.search.substring(1) );
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="submit">
|
||||
<a href="javascript:history.go(-1)" title="Click here to go back">Go back</a>
|
||||
<a href="#" title="Click here to go back" id="historyback">Go back</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
||||
5
templates/Sparkle/assets/js/main.js
vendored
5
templates/Sparkle/assets/js/main.js
vendored
@@ -19,6 +19,11 @@ $(document).ready(function() {
|
||||
$("html, body").animate({ scrollTop: 0 }, 600);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#historyback').click(function() {
|
||||
parent.history.back();
|
||||
return false;
|
||||
});
|
||||
|
||||
// this is necessary for the special setting feature (ref #1010)
|
||||
$.getQueryVariable = function(key) {
|
||||
|
||||
2
templates/Sparkle/misc/dberrornice.tpl
vendored
2
templates/Sparkle/misc/dberrornice.tpl
vendored
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<aside class="right">
|
||||
<a href="javascript:history.go(-1)" title="Click here to go back">Go back</a>
|
||||
<a href="#" title="Click here to go back" id="historyback">Go back</a>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user