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

FUI modal should be generated from php only #2229

Open
mvorisek opened this issue Nov 22, 2024 · 0 comments
Open

FUI modal should be generated from php only #2229

mvorisek opened this issue Nov 22, 2024 · 0 comments

Comments

@mvorisek
Copy link
Member

Currently there are two locations where FUI modal is generated without php:

https://github.com/atk4/ui/blob/5.2.0/js/src/plugins/confirm.plugin.js
and
https://github.com/atk4/ui/blob/5.2.0/js/src/plugins/create-modal.plugin.js

If there should be no roundtrip between client and server, they can be pregenerated, but never constructed within js only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant