Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3087 closed enhancement (fixed)

add beforeClose option

Reported by: ToyChicken Owned by: Scott González
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 9 years ago by Cloudream

Milestone: TDB
Priority: majorminor

comment:2 Changed 9 years ago by Scott González

Summary: Update to close callback functionalityadd beforeClose option

comment:3 Changed 9 years ago by Scott González

Milestone: TBD1.6
Resolution: fixed
Status: newclosed

Fixed in [693].

comment:4 Changed 8 years ago by rdworth

Milestone: 1.61.6rc2
Note: See TracTickets for help on using tickets.