From 255449cd0f5a8dd73c862c684ee7d97929a6d89c Mon Sep 17 00:00:00 2001 From: wangzemei Date: Tue, 28 Oct 2025 13:49:07 +0800 Subject: [PATCH] * [task#151373] task list compatible with AI. --- module/execution/ui/task.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/ui/task.html.php b/module/execution/ui/task.html.php index 6cfbe5f5e4..b4f5184ffb 100644 --- a/module/execution/ui/task.html.php +++ b/module/execution/ui/task.html.php @@ -304,7 +304,7 @@ if($canBatchAction) if($canBatchAssignTo) $footToolbar['items'][] = array('caret' => 'up', 'text' => $lang->task->assignedTo, 'className' => 'btn btn-caret size-sm', 'btnType' => 'secondary', 'items' => $assignedToItems,'type' => 'dropdown'); } if($isFromDoc) $footToolbar = array(array('text' => $lang->doc->insertText, 'data-on' => 'click', 'data-call' => "insertListToDoc('#tasks', 'task', $blockID, '$insertListLink')")); -if($isFromAI) $footToolbar = array(array('text' => $lang->doc->insertText, 'data-on' => 'click', 'data-call' => "insertListToAI('#tasks', 'task', $blockID, '$insertListLink')")); +if($isFromAI) $footToolbar = array(array('text' => $lang->doc->insertText, 'data-on' => 'click', 'data-call' => "insertListToAI('#tasks', 'task', $blockID)")); jsVar('+pageSummary', $lang->execution->pageSummary); jsVar('checkedSummary', $lang->execution->checkedSummary);