Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust to latest atk4/data #27

Merged
merged 1 commit into from
Jul 30, 2022
Merged

Adjust to latest atk4/data #27

merged 1 commit into from
Jul 30, 2022

Conversation

mvorisek
Copy link
Member

No description provided.

{
$model = $this->entityField->getField()->fileModel;
$entity = $model->loadBy('token', $token);

$js = new \Atk4\Ui\JsNotify(['content' => $entity->get('meta_filename') . ' has been removed!', 'color' => 'green']);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this message was misleading, file is deleted after the form is saved only (if not temporary)

@mvorisek mvorisek merged commit 34d6245 into develop Jul 30, 2022
@mvorisek mvorisek deleted the adjust_to_data branch July 30, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant