Page 1 of 1
confirmationDialog close/X button
Posted: 22 November 2019, 18:09
by hersh
Is it possible to run the noHandler if the player closes the dialog by clicking the "X" at the top right?
Need to be able to client-side undo the last move.
thanks
Re: confirmationDialog close/X button
Posted: 22 November 2019, 19:16
by RicardoRix
it sounds like the client should not have played the original move until the confirmation box is cleared.
Re: confirmationDialog close/X button
Posted: 22 November 2019, 21:59
by hersh
if you create a custom dialog there is a method .hideCloseIcon() according to the documentation, but I would prefer to use the confirmationDialog helper.
Re: confirmationDialog close/X button
Posted: 20 January 2020, 12:30
by Een
Actually the default close icon on confirmationDialog doesn't make sense (the player shouldn't be able to close the popup without answering the confirmation question). So the close icon will be removed on confirmationDialogs with the next release.