Skip to content

Commit 449fd97

Browse files
committed
Update edit_package.html
After save the package, back button link is referer to https://dimain/list/package/?package={package_name} i think we dont need this. Back button will alway go to /list/package/ .... CMIIW ....
1 parent 5e861eb commit 449fd97

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

web/templates/admin/edit_package.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@
2222

2323
<div class="l-center">
2424
<?php
25-
$back = getenv("HTTP_REFERER");
26-
if (empty($back)) {
27-
$back = "location.href='/list/package/'";
28-
} else {
29-
$back = "location.href='".$back."'";
30-
}
25+
$back = "location.href='/list/package/'";
3126
?>
3227
<form id="vstobjects" name="v_edit_package" method="post" class="<?=$v_status?>">
3328
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />

0 commit comments

Comments
 (0)