Ticket #3087 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

add beforeClose option

Reported by: ToyChicken Owned by: scott.gonzalez
Priority: minor Milestone: 1.6rc2
Component: ui.dialog Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:


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

comment:1 Changed 7 years ago by Cloudream

  • Priority changed from major to minor
  • Milestone set to TDB

comment:2 Changed 7 years ago by scott.gonzalez

  • Summary changed from Update to close callback functionality to add beforeClose option

comment:3 Changed 7 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.6

Fixed in [693].

comment:4 Changed 7 years ago by rdworth

  • Milestone changed from 1.6 to 1.6rc2
Note: See TracTickets for help on using tickets.