Closed kattunga closed 8 years ago
OnClick (sync) events doesn't work when component is created at runtime.
This is because the javascript function that button calls when OnClick is triggered it's not created when component it's created at runtime via ajax.
We can solve this if we move the code of the javascript function inside the html tag of the component in the body.
But I think that nobody need to use sync on dynamically created components, so we will wait until somebody need it.
Fixed in latest commit.
OnClick (sync) events doesn't work when component is created at runtime.
This is because the javascript function that button calls when OnClick is triggered it's not created when component it's created at runtime via ajax.
We can solve this if we move the code of the javascript function inside the html tag of the component in the body.
But I think that nobody need to use sync on dynamically created components, so we will wait until somebody need it.