From fe5d5eabaa1ccca878f2c8420726d0ed38e2998b Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 25 Nov 2025 10:11:34 +0800 Subject: [PATCH] * [refac] Fixed the issue where tasks can't be edited in the lite vision. --- module/task/ui/view.html.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/task/ui/view.html.php b/module/task/ui/view.html.php index 940a16c482..20cae3fdc3 100644 --- a/module/task/ui/view.html.php +++ b/module/task/ui/view.html.php @@ -82,6 +82,12 @@ foreach($actions as $key => $action) { $actions[$key]['data-confirm'] = array('message' => $lang->task->confirmDeleteParent, 'icon' => 'icon-exclamation-sign', 'iconClass' => 'warning-pale rounded-full icon-2x'); } + + if($isInModal && isset($action['icon']) && $action['icon'] == 'edit') + { + $actions[$key]['data-toggle'] = 'modal'; + $actions[$key]['data-size'] = 'lg'; + } } /* 初始化主栏内容。Init sections in main column. */