Allowing multiple accepted answers
I get the sense that the event binding for accepting answers leads to the callback_accept function, and that the important stuff is here:
$('#' + answerContainerIdPrefix + postId).addClass('accepted-answer');
object.trigger('askbot.acceptAnswer', [object, data]);
Can anyone give me a hint on what would need to be changed to accomplish what I want? If not, could you walk me through what the three lines above are doing?
But I don't understand whats going on in any line except the first. Anyone able to spell this out for me?