How to override "./public/src/groups/details.js" file in plugin.



  • Hi,

    I need to add some additional functionality for 'Group', for this I need to add some client side code related to group.
    For I need add some code to "./public/src/groups/details.js" file.

    Can I Override details.js file in my plugin ?

    Thanks!!


  • Admin

    @akumbhare Best bet is to have a client-side file loaded that listens for the action:ajaxify.end hook.

    $(window).on('action:ajaxify.end', function(ev, data) {
      var url = data.url;
    });
    

 

| |

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.