Skip to:
Content
Pages
Categories
Search
Top
Bottom

(Un)Subscribe to Topic works, but text is not changed


  • Platoscave
    Participant

    @platoscave

    We noticed that in topic.js, the Subscribe text is supposed to be changed to Unsubscribe after subscribing to a topic, but currently it is not.

    The problem is that the ajax call is wrong, the callback function not being called:

    $.post( bbpTopicJS.bbp_ajaxurl, $data, function ( response ) {
      ...
    });

    In our case the callback function is not called at all, the text not being updated.

    Perhaps adding a success() call or something similar will fix the problem.

  • You must be logged in to reply to this topic.
Skip to toolbar