mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°4338 - Fix indirect links removal
This commit is contained in:
@@ -45,7 +45,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
|
|||||||
|
|
||||||
this.RemoveSelected = function () {
|
this.RemoveSelected = function () {
|
||||||
let my_id = '#'+me.id;
|
let my_id = '#'+me.id;
|
||||||
$('#linkedset_'+me.id+' tr.selected').each(function () {
|
$('#linkedset_'+me.id+' .selection:checked').closest('tr').each(function () {
|
||||||
$('#datatable_'+me.id).DataTable().row($(this)).remove().draw();
|
$('#datatable_'+me.id).DataTable().row($(this)).remove().draw();
|
||||||
var oCheckbox = $(this).find('.selection');
|
var oCheckbox = $(this).find('.selection');
|
||||||
let iLink = $(oCheckbox).attr('data-link-id');
|
let iLink = $(oCheckbox).attr('data-link-id');
|
||||||
|
|||||||
Reference in New Issue
Block a user