mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Jump to latest comments after adding a comment
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
19aff5f958
commit
f2ff9782a5
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ if (check_token()) {
|
|||
$uid = uid_from_sid($_COOKIE["AURSID"]);
|
||||
pkgbase_add_comment($base_id, $uid, $_REQUEST['comment']);
|
||||
$ret = true;
|
||||
$fragment = '#news';
|
||||
} elseif (current_action("do_EditComment")) {
|
||||
list($ret, $output) = pkgbase_edit_comment($_REQUEST['comment']);
|
||||
if ($ret && isset($_POST["comment_id"])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue