Can anyone tell me why the cancel button for dialogs fires the OnSelectionChange event? Is this necessary or can I safely change the onclick for the cancel button to call Cancel(true); to bypass this event? You would think it would be safe to simply close the window when cancel is pressed...but maybe not.
If not, where can I find the function that is called when cancelling a dialog?
I have a plugin I created that is throwing an error when the cancel button is pressed. The error occurs within the OnSelectionChange event - if I bypass this everything works fine.
The error only occurs in firefox.
Any and all help is appreciated/
If not, where can I find the function that is called when cancelling a dialog?
I have a plugin I created that is throwing an error when the cancel button is pressed. The error occurs within the OnSelectionChange event - if I bypass this everything works fine.
The error only occurs in firefox.
Any and all help is appreciated/