Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3087 closed enhancement (fixed)

add beforeClose option

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

Description

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 8 years ago by Cloudream

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

comment:2 Changed 8 years ago by scottgonzalez

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

comment:3 Changed 8 years ago by scottgonzalez

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

Fixed in [693].

comment:4 Changed 8 years ago by rdworth

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