diff options
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rw-r--r-- | usr/local/www/pkg_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 816114d..1a78ef3 100644 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -937,7 +937,7 @@ if ($pkg['tabs'] <> "") { echo "<input name='id' type='hidden' value=\"" . htmlspecialchars($id) . "\" />"; echo "<input name='Submit' type='submit' class='formbtn' value=\"" . htmlspecialchars($savevalue) . "\" />\n{$pkg_buttons}\n"; if (!$only_edit){ - echo "<input class='formbtn' type='button' value='".gettext("Cancel")."' onclick='history.back()' />"; + echo "<input class=\"formbtn\" type=\"button\" value=\"".gettext("Cancel")."\" onclick=\"window.location.href='" . $_SERVER['HTTP_REFERER'] . "'\" />"; } ?> </div> |