Hey,
I'm trying to style Flag as spam/abuse and Delete activity message dropdown [ http://telligent.com/resized-image.ashx/__size/500x480/__key/communityserver-wikis-components-files/00-00-00-04-07/5722.flag-a-comment-as-abusive.png ]. In fact, I need two buttons, not the dropdown.
Everything went well with Delete, I just changed
widgetContext.wrapper.delegate('.full-post.activity', 'evolutionModerateLinkClicked', function (e, link) {
to
widgetContext.wrapper.delegate('.my-activity-delete-button', 'click', function(e) {
in Activity Story Stream widget's ui.js file.
But what about that flag button? I was not able to find what to .trigger to get that `Flag as Spam/Abuse `.
There is some ui.component.moderate, but I was not able to make it work.
is there the only option to simulate the same action from front-end, it's to write my own post call to "api.ashx/v2/abusereports.json"? Or I can some how trigger this evolutionModerate() component?
Any help will be appreciated