-
Notifications
You must be signed in to change notification settings - Fork 107
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
Issue with confirmation modal in latest develop #1953
Comments
please provide complete repro code or advise (preferably, if the code can be much shorter) how to modify some existing demo that uses the components you use |
thank you - also for the trace screenshot also next time, please post here the code (or commit test to your fork, and then link it here), we do not want to use atk4 repos as a sandpit |
The JS error is legit, Did this work in the past? If yes, when and what change has broken it? (as per example in PR you opened) the fix is to newer worry about the URL but instead use the JsCallback as event directly
|
@mvorisek You tell me what change it was ;-) Basically I realised it now, so must have been in the past 2 weeks probably. We should document such changes ideally. This worked without issues before mimicking the atkAjaxec calls in Table\Column\Delete as it was used prior. Fix is working |
thank you for the feedback - introduced in #1930 in the change should be ok, but let's keep this issue open to investigate this issue more, mainly if we can present passing an jQuery selector into url (JS has no types), so the user can receive a better error. |
I can confirm the original usage was always wrong. Here is what was rendered (on the latest develop, the same is rendered except a "better" context selector):
notice the URL is is another in PHP all works correctly, in JS, there are no strong types, so impossible to prevent such issues in general, but I plan for several months already to unimplement |
Steps to reproduce:
Expected behaviour (as it was until just recently):
Erroneous behaviour now:
Please fix @mvorisek
The text was updated successfully, but these errors were encountered: