mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Using the back button to return doesn't refresh the page
This commit is contained in:
@@ -8,7 +8,7 @@ if ($in{'redir'}) {
|
||||
$redirdesc = $in{'redirdesc'};
|
||||
}
|
||||
elsif ($in{'redirdesc'}) {
|
||||
$redir = "javascript:history.back()";
|
||||
$redir = $ENV{'HTTP_REFERER'};
|
||||
$redirdesc = $in{'redirdesc'};
|
||||
}
|
||||
else {
|
||||
@@ -17,7 +17,7 @@ else {
|
||||
$redirdesc = $text{'index_return'};
|
||||
}
|
||||
|
||||
if ($in{'refresh'} || $in{refresh_top}) {
|
||||
if ($in{'refresh'} || $in{'refresh_top'}) {
|
||||
&ui_print_unbuffered_header(undef, $text{'refresh_title'}, "");
|
||||
|
||||
# Clear all caches
|
||||
|
||||
Reference in New Issue
Block a user