From 91c7307e9e5ec750185c6a43ccdba9afe0fde4a8 Mon Sep 17 00:00:00 2001 From: liyang Date: Thu, 21 Mar 2024 16:22:14 +0800 Subject: [PATCH] * Fix bug #47144. --- module/gitfox/control.php | 2 +- module/gitlab/ui/binduser.html.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/gitfox/control.php b/module/gitfox/control.php index 09804f672a..7d0828da53 100644 --- a/module/gitfox/control.php +++ b/module/gitfox/control.php @@ -61,7 +61,7 @@ class gitfox extends control $actionID = $this->action->create('gitfox', $gitfoxID, 'edited'); $changes = common::createChanges($oldGitFox, $gitFox); $this->action->logHistory($actionID, $changes); - return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true)); + return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'callback' => 'loadCurrentPage()', 'closeModal' => true)); } $this->view->title = $this->lang->gitfox->common . $this->lang->colon . $this->lang->gitfox->edit; diff --git a/module/gitlab/ui/binduser.html.php b/module/gitlab/ui/binduser.html.php index 3a6b76c071..e0cb8fc1f3 100644 --- a/module/gitlab/ui/binduser.html.php +++ b/module/gitlab/ui/binduser.html.php @@ -55,8 +55,8 @@ form array( 'text' => $lang->goback, 'btnType' => 'info', - 'onClick' => jsRaw('() => {goBack()}') - ) + 'back' => true + ) ) )) )