Open capripot opened 14 years ago
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
...? What ?
Is this even an issue?
Yes this is still an issue.
I couldn't reproduce this. I got the memo var using this code https://gist.github.com/7cb1aa3cdcec59517abc
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"
and replace
with var result = this.element.fire("ui:dialog:before:close", memo);
thx a lot for the fix