Information générale
Catégorie:
The Mere Mortals Framework
Versions des environnements
>Ok once again I probably missed the obvious but seems like the postdeletehook should not fire if the user says "NO" to the delete dialog. I see where the click event code of the delete botton checks the predeletehook and won't execute if that returns false but should not the post delete be done in the same way?
>
>Or does someone have a way to trap that the user said NO and fall out of the postdeletehook?
I'd suggest doublechecking the code that asks the user. What are you calling and where from? The bizobj.delete() fires the postdelete hook unless the bizobj.predeletehook cancels, or it throws an error.
Chris.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement