Changes between Initial Version and Version 1 of Ticket #13523, comment 3


Ignore:
Timestamp:
Jul 28, 2011, 7:43:00 AM (8 years ago)
Author:
PEM
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13523, comment 3

    initial v1  
    11Replying to [comment:2 PEM_FR]:
    2 > Of course the example above is simplistic, but you could imagine having a callback function that you would be called from onBeforeHide (hitching the context), and that would have access to the clicked button's value so that if a cancel was clicked, do nothing and close the dialog, if ok or validate was clicked, then do the checks first...
     2> I updated the example since some people were missing the point of the patch :)