jquery-popup-overlay icon indicating copy to clipboard operation
jquery-popup-overlay copied to clipboard

Add the "confirmclose" event

Open pvgoran opened this issue 7 years ago • 0 comments

I needed the ability to prevent the popup from being closed under certain conditions, for example, to allow the user to double-check and either confirm or cancel close. (This ability is present in https://github.com/jquerytools/jquerytools which I try to migrate from.) So I added the confirmclose event that is called before any changes are made, if the event returns non-true, then close is cancelled.

pvgoran avatar Jul 05 '17 18:07 pvgoran