Javascript Event System - profile-page-before-delete-comment
From KickApps Documentation
This article pertains to the Javascript Event System. You can refer to our list of Javascript Event System Supported Events to learn what else you can do with our event system.
Contents |
Summary
- This event is fired before showing the delete comment confirmation
Payload Parameters
- commentId
- (number) ID of the comment to be deleted
Execution Interruption
- If your event handler returns false, the execution will halt and the comment will not be deleted.
Example
function onBeforeDeleteComment(data) {
// do something here console.log(data.commentId)
} var newEventId = Ka.events.listen('profile-page-before-delete-comment', onBeforeDeleteComment);
Favorites






