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

Dialog no transmit "memo" var with the "ui:dialog:before:close" event #9

Open
capripot opened this issue Aug 30, 2010 · 3 comments
Open

Comments

@capripot
Copy link

there is no "memo" var when you capture the "ui:dialog:before:close" event.

it can be fixed with a copy/paste the line memo, before the element.fire "ui:dialog:before:close"

var memo = { dialog: this, success: success };

and replace

var result = this.element.fire("ui:dialog:before:close", {dialog: this);

with
var result = this.element.fire("ui:dialog:before:close", memo);

thx a lot for the fix

@justinbaker999
Copy link

...? What ?

Is this even an issue?

@capripot
Copy link
Author

Yes this is still an issue.

@justinbaker999
Copy link

I couldn't reproduce this.
I got the memo var using this code https://gist.github.com/7cb1aa3cdcec59517abc

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