• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Activity.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Activity
  • Вызов: Activity::getCompleteAction
protected function getCompleteAction(): Layout\Action\RunAjaxAction
{
	return (new Layout\Action\RunAjaxAction('crm.timeline.activity.complete'))
		->addActionParamInt('activityId', $this->getActivityId())
		->addActionParamInt('ownerTypeId', $this->getContext()->getEntityTypeId())
		->addActionParamInt('ownerId', $this->getContext()->getEntityId())
		->setAnimation(Layout\Action\Animation::showLoaderForItem()->setForever())
	;
}