From 4265955b5c2842ec3690c2c928bee5bb56b49ea7 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Fri, 6 Sep 2024 14:40:02 +0800 Subject: [PATCH] * [misc] Adjust response. --- module/tree/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/control.php b/module/tree/control.php index c8f77c58c3..b12ff4b90b 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -289,7 +289,7 @@ class tree extends control return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'callback' => "renderModulePicker($rootID, '$viewType');")); } - if($oldPage == 'yes') return print(js::reload('parent')); + if($oldPage == 'yes') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'reload')); return $this->sendSuccess(array('load' => true)); } }