N°4478 Fix line selection (global and unique) not checking checkbox anymore

This commit is contained in:
Pierre Goiffon
2021-11-26 11:36:23 +01:00
parent 252562ace9
commit 5e48400cb1
2 changed files with 5 additions and 5 deletions

View File

@@ -265,7 +265,7 @@ EOF
var aData = oTable_{$this->oField->GetGlobalId()}.rows(indexes).data().toArray();
// Checking input
$('#{$sTableId} tbody tr[role="row"].selected td:first-child input').prop('checked', true);
$('#{$sTableId} tbody tr[id].selected td:first-child input').prop('checked', true);
// Saving values in temp array
for(var i in aData)
{
@@ -282,7 +282,7 @@ EOF
var aData = oTable_{$this->oField->GetGlobalId()}.rows(indexes).data().toArray();
// Checking input
$('#{$sTableId} tbody tr[role="row"]:not(.selected) td:first-child input').prop('checked', false);
$('#{$sTableId} tbody tr[id]:not(.selected) td:first-child input').prop('checked', false);
// Saving values in temp array
for(var i in aData)
{