-
Notifications
You must be signed in to change notification settings - Fork 106
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
Cannot assign onHidden function for Modal anymore #1937
Comments
The exception saves you from state corruption, but like in FUI API we can impl. specific handler for the |
@mvorisek Can I not as before just connect to any FUI function? There are plenty of function for FUI controls where we need to connect our own Atk4 code. How can we solve this? |
@mkrecek234 you can, but there are a few function that atk4/ui override to customize Fomantic-UI behaviour - this is not new, only since a few weeks we throw a JS exception properly :) see #1917 do you need to change only |
I only encountered this error when using modal onHidden. Sure there are other FUI functions (mostly onChange of values of some controls, but there are no existing overrides by atk, so no throw of exception that I encountered 👍 onHidden for Modal (or even JsModal) would be indeed very important as we have to be able to react on it to update views etc. |
I have a modal which should trigger a callback after it is being hidden:
$this is a normal view.
In the recent version upon load of this view I now get this JavaScript error:
Error: Fomantic-UI "modal.onHidden" setting cannot be customized outside atk
jquery.min.js:2:31711
The text was updated successfully, but these errors were encountered: