Hello,
can someone tell me how I can inform the user when the building was prevented by the hook of a relationship after_relationship_add?
If for example I have a subpanel "Contacts" which is located in Contracts. There, I press Select and then a contact is selected. With the hook "after_relationship_add", I can delete the newly created relationship again, if it violates my rules. But now how do I inform the user? The subpanel builds up again from scratch after select call, so that JavaScript responds to the file / custom / modules / contracts / views / view.detail.php no longer listen of any variables or ids in this subpanel.
Do you have any suggestions?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks