scripty2 icon indicating copy to clipboard operation
scripty2 copied to clipboard

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

Open capripot opened this issue 15 years ago • 3 comments

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

capripot avatar Aug 30 '10 08:08 capripot

...? What ?

Is this even an issue?

justinbaker999 avatar Dec 26 '10 21:12 justinbaker999

Yes this is still an issue.

capripot avatar Dec 27 '10 15:12 capripot

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

justinbaker999 avatar Dec 27 '10 15:12 justinbaker999