mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°5073 - Issue, row actions listeners lost on refresh
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{% for aAction in oUIBlock.GetRowActions() %}
|
||||
|
||||
// register action buttons click
|
||||
$('#{{ oUIBlock.GetId() }} tbody').on('click', 'button[data-action-id="{{ loop.index0 }}"]', function() {
|
||||
$('body').on('click', 'button[data-table-id="{{ oUIBlock.GetId() }}"][data-action-id="{{ loop.index0 }}"]', function() {
|
||||
|
||||
// variables accessible from action row js
|
||||
let oDatatable = $('#{{ oUIBlock.GetId() }}').DataTable();
|
||||
|
||||
Reference in New Issue
Block a user