src/Component/Frontend/StructureModal/StructureModal.php
public function successFileProperty(Form $form) : void
    {
        if ($this->presenter->isAjax() && $this->presenter->user->isAllowed(StructureAuthorizator::RES_STRUCTURE_MODAL))
        {
            $values = $form->getValues();

            $uploadedAt = new DateTime($values->uploadedAt);

            $this->structureValueFileManager->update(
                $values->structureValueFileId,
                $uploadedAt,
                $values->title
            );

            $this->presenter->notificationAjax(
                'Atributy aktualizovány',
                'Dodatečné atributy souboru byly aktualizovány.',
                'success',
                FALSE
            );


            $this->onSaveFile();
        }
    }
public function successFileProperty(Form $form) : void
    {
        if ($this->presenter->isAjax() && $this->presenter->user->isAllowed(StructureAuthorizator::RES_STRUCTURE_MODAL))
        {
            $values = $form->getValues();

            $uploadedAt = new DateTime($values->uploadedAt);

            $this->structureValueFileManager->update(
                $values->structureValueFileId,
                $uploadedAt,
                $values->title
            );

            $this->presenter->notificationAjax(
                'Atributy aktualizovány',
                'Dodatečné atributy souboru byly aktualizovány.',
                'success',
                FALSE
            );


            $this->onSaveFile();
        }
    }
Success - file property
@param Form $form
@throws \Exception