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

mx.ui.action does not work as expected in popups #28

Open
Andries-Smit opened this issue May 10, 2017 · 2 comments
Open

mx.ui.action does not work as expected in popups #28

Andries-Smit opened this issue May 10, 2017 · 2 comments
Assignees

Comments

@Andries-Smit
Copy link
Contributor

Sharing some information:
https://github.com/mendix/generator-mendix/blob/master/generators/app/templates/WidgetBoilerplate/src/WidgetName/widget/WidgetName.js.ejs#L76

Found a limitation on the https://apidocs.mendix.com/6/client/mx.ui.html#.action
Though documentation states that origin: this.mxform is not needed, it is not completely true. It is not working for full pages but does not work for popups. So this call action will close the page but not a popup. : (

So I think we need to reintroduce the origin again.

Cheers.

@JelteMX JelteMX self-assigned this May 10, 2017
@Andries-Smit
Copy link
Contributor Author

The deprecated variant of Mendix 5 was named caller not aware about the origin...

@JelteMX
Copy link
Contributor

JelteMX commented May 10, 2017

Yeah my comment was removed because I spotted my own error ;-). We'll reintroduce origin I guess, and revert back to mx.data.action

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

No branches or pull requests

2 participants