Since 4.11.0 the data-id="" no longer being set on the folder <tr> which means that this check was failing and causing the validation to pass.
Checking if the data-id attribute is empty or set at all solves the issue.
(Note: this code is already present in v5, and disabling actions based on the required ID works as expected there.)
Description
Since
4.11.0
thedata-id=""
no longer being set on the folder<tr>
which means that this check was failing and causing the validation to pass. Checking if thedata-id
attribute is empty or set at all solves the issue.(Note: this code is already present in v5, and disabling actions based on the required ID works as expected there.)
Related issues
16151