add beforeClose option
|Reported by:||ToyChicken||Owned by:||scottgonzalez|
Is there a way to perform the callback function before the dialog closes?
i.e. I have a box that when the user clicks close, I have a message
that says something like 'if you close this, you will lose all your data - are you sure?' and on true, the dialog closes, but on false it remains open...
Perhaps this could apply to 'open' too?
Change History (4)
comment:1 Changed 9 years ago by Cloudream
- Milestone set to TDB
- Priority changed from major to minor
comment:2 Changed 9 years ago by scottgonzalez
- Summary changed from Update to close callback functionality to add beforeClose option
comment:3 Changed 9 years ago by scottgonzalez
- Milestone changed from TBD to 1.6
- Resolution set to fixed
- Status changed from new to closed