1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenForo Quick Reply (discussions.js)

Discussion in 'XenForo Development Discussions' started by ragtek, Jun 1, 2011.

  1. ragtek

    ragtek Guest

    After the Quick Reply is sent and it gets the response, it adds the content to the messagelist.
    Is there a way to replace the content instead of add the new content under the old?

    My problem is, that i have this window:
    If a user creates the first response, it adds the comment UNDER my "no comment message"
  2. ragtek

    ragtek Guest

    Or is there a way to call a callback class, after the comments were inserted? Then i could hide them via javascript
  3. ragtek

    ragtek Guest

  4. Jeremy

    Jeremy Well-Known Member

    There's the following code in XenForo.QuickReply:
    I can't find QuickReplyComplete. You may be able to add a QuickReplyComplete function that'll check and remove a specific ID on a div.
    1 person likes this.
  5. ragtek

    ragtek Guest


    the trigger gave me the idea for what to search:D


    yea, working like a charm and solving really many, of my problems:)

Share This Page