Newer
Older
dmpopidor / app / javascript / views / org_admin / templates / index.js
@Bodacious Bodacious on 19 Oct 2018 247 bytes Update asset structure with webpacker gem
$(() => {
  // Update the contents of the table when user clicks on a scope link
  $('.template-scope').on('ajax:success', 'a[data-remote="true"]', (e, data) => {
    $(e.target).closest('.template-scope').find('.paginable').html(data);
  });
});