* [ui] fix popover menu block user to click item in ai prompts menu.

This commit is contained in:
sunhao
2025-12-10 16:24:18 +08:00
parent 2b31239732
commit 7e095a93fb
+1 -1
View File
@@ -66,7 +66,7 @@ $promptMenuInject = function()
helper::createLink('ai', 'promptExecute', "promptId=$prompt->id&objectId=$currentObjectId&auto=0"),
$prompt->name . ($prompt->status != 'active' ? '<span class="label size-sm gray-500-pale ring-gray-500" style="margin-left: 4px; white-space: nowrap;">' . $this->lang->ai->prompts->statuses[$prompt->status] . '</span>' : ''),
'',
"class='prompt ajax-submit' style='width: 100%;'" . (empty($prompt->unauthorized) ? '' : ' disabled') . (empty($prompt->desc) ? '' : " data-toggle='popover' data-container='body' data-trigger='hover' data-content='$prompt->desc' data-title='$prompt->name' data-placement='left'"),
"class='prompt ajax-submit' style='width: 100%;'" . (empty($prompt->unauthorized) ? '' : ' disabled') . (empty($prompt->desc) ? '' : " title='$prompt->desc' data-placement='left'"),
'btn ghost size-sm font-medium text-left'
);
$html .= '</li>';